From: Andre Ramnitz Date: Fri, 26 Jan 2024 15:32:46 +0000 (+0100) Subject: hypr: adjust sleep scripts X-Git-Tag: v0.2~225 X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=731f4c7c77bc8d4f774b0a48f3adf1ee4a561e2f;p=dotfiles.git hypr: adjust sleep scripts --- diff --git a/config/hypr/scripts/sleep-dpms.sh b/config/hypr/scripts/sleep-dpms.sh index c1ffc732..9510b520 100755 --- a/config/hypr/scripts/sleep-dpms.sh +++ b/config/hypr/scripts/sleep-dpms.sh @@ -3,7 +3,7 @@ swayidle -w timeout 600 'swaylock -f -c 000000' \ timeout 900 'hyprctl dispatch dpms off' \ resume 'hyprctl dispatch dpms on' \ - timeout 1200 'loginctl suspend' \ + timeout 1800 'loginctl suspend' \ before-sleep 'swaylock -f -c 000000' & diff --git a/config/hypr/scripts/sleep.sh b/config/hypr/scripts/sleep.sh index f0aae25f..9d9b0f8e 100755 --- a/config/hypr/scripts/sleep.sh +++ b/config/hypr/scripts/sleep.sh @@ -1,6 +1,6 @@ #!/bin/bash -swayidle -w timeout 600 'swaylock -f -c 000000' \ +swayidle -w timeout 900 'swaylock -f -c 000000' \ timeout 1800 'loginctl suspend' \ before-sleep 'swaylock -f -c 000000' &