diff --git a/bin/restart_hypridle b/bin/restart_hypridle new file mode 100755 index 0000000..3194618 --- /dev/null +++ b/bin/restart_hypridle @@ -0,0 +1,4 @@ +#!/bin/sh + +hypridle & + diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf new file mode 100644 index 0000000..0217020 --- /dev/null +++ b/hypr/hypridle.conf @@ -0,0 +1,16 @@ +general { + lock_cmd = pidof hyprlock || hyprlock + before_sleep_cmd = loginctl lock-session +} + +listener { + timeout = 600 + on-timeout = loginctl lock-session +} + +listener { + timeout = 7200 + on-timeout = hyprctl dispatch dpms off + on-timeout = hyprctl dispatch dpms on +} + diff --git a/hypr/monitors.conf b/hypr/monitors.conf index bede4bd..e3994dd 100644 --- a/hypr/monitors.conf +++ b/hypr/monitors.conf @@ -1,5 +1,6 @@ #-------- monitors ------------ monitor=,preferred,auto,auto monitor=DVI-I-1,1920x1200,0x0,auto +monitor=HEADLESS-3,2048x1538,0x0,auto #------------------------------ diff --git a/hypr/startup.conf b/hypr/startup.conf index 4a22a86..63c2ed5 100644 --- a/hypr/startup.conf +++ b/hypr/startup.conf @@ -27,5 +27,5 @@ exec-once = mako exec-once = nm-applet --indicator exec-once = greenclip daemon exec-once = uxplay - +exec-once = hypridle #----------------------------------------------------------------------------------