From a1296d9813311940fbe902702a5debd768b1d9be Mon Sep 17 00:00:00 2001 From: MikeG Date: Thu, 12 Jun 2025 20:16:31 -0400 Subject: [PATCH] modified swaylock lines in sway config and lock script --- .config/sway/config | 3 ++- .config/sway/lockman.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index e5461d8..b21f419 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -66,7 +66,8 @@ output eDP-1 resolution 1920x1080 position 0,0 # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. -set $lock 'swaylock -e -F -i /home/emge/Source/tokyonight-wallpapers/void_upscayl_realesrgan-x4plus_x2.png --indicator-radius 175 --indicator-y-position 525 --inside-color 000000AA' +# set $lock 'swaylock -e -F -i /home/emge/Source/tokyonight-wallpapers/void_upscayl_realesrgan-x4plus_x2.png --indicator-radius 175 --indicator-y-position 525 --inside-color 000000AA' +set $lock 'swaylock' exec swayidle -w \ timeout 300 $lock \ timeout 310 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ diff --git a/.config/sway/lockman.sh b/.config/sway/lockman.sh index 3bfe4da..582dc34 100644 --- a/.config/sway/lockman.sh +++ b/.config/sway/lockman.sh @@ -2,5 +2,6 @@ swayidle \ timeout 10 'swaymsg "output * power off"' \ resume 'swaymsg "output * power on"' & -swaylock -e -F -i /home/emge/Source/tokyonight-wallpapers/void_upscayl_realesrgan-x4plus_x2.png --indicator-radius 175 --indicator-y-position 525 --inside-color 000000AA +#swaylock -e -F -i /home/emge/Source/tokyonight-wallpapers/void_upscayl_realesrgan-x4plus_x2.png --indicator-radius 175 --indicator-y-position 525 --inside-color 000000AA +swaylock kill %%