diff --git a/sway/.config/sway/config b/sway/.config/sway/config index ef02263..9e6d277 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -58,9 +58,9 @@ font pango:Noto Sans Regular 10 ### Idle configuration set $lockman exec bash ~/.config/sway/scripts/lockman.sh exec swayidle -w \ - timeout 300 'swaylock -f' \ + timeout 300 'swaylock -f --font "Noto Sans Regular" --font-size 16' \ timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ - before-sleep 'swaylock -f' + before-sleep 'swaylock -f --font "Noto Sans Regular" --font-size 16' # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when diff --git a/sway/.config/sway/scripts/lockman.sh b/sway/.config/sway/scripts/lockman.sh index 85ef098..a959d3d 100755 --- a/sway/.config/sway/scripts/lockman.sh +++ b/sway/.config/sway/scripts/lockman.sh @@ -2,9 +2,9 @@ # Times the screen off and puts it to background swayidle \ - timeout 10 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' & + timeout 10 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' & # Locks the screen immediately -swaylock -f +swaylock -f --font "Noto Sans Regular" --font-size 16 # Kills last background task so idle timer doesn't keep running kill %%