Compare commits

..
2 Commits
Author SHA1 Message Date
chris fecc16e904 Update suspend script 2026-06-21 15:33:12 +01:00
chris 6632b23566 Update lock timeout 2026-06-21 15:32:04 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,6 +23,6 @@ listener {
} }
listener { listener {
timeout = 600 # 1min timeout = 360 # 6 minutes
on-timeout = systemctl suspend # suspend pc on-timeout = systemctl suspend # suspend pc
} }
+1 -1
View File
@@ -241,7 +241,7 @@ show_system_menu() {
case $(menu "System" "$options") in case $(menu "System" "$options") in
*Screensaver*) station-launch-screensaver force ;; *Screensaver*) station-launch-screensaver force ;;
*Lock*) station-lock-screen ;; *Lock*) station-lock-screen ;;
*Suspend*) systemctl suspend ;; *Suspend*) hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })' && systemctl suspend ;;
*Hibernate*) systemctl hibernate ;; *Hibernate*) systemctl hibernate ;;
*Logout*) station-system-logout ;; *Logout*) station-system-logout ;;
*Restart*) station-system-reboot ;; *Restart*) station-system-reboot ;;