Fix font on Sway lockscreen
This commit is contained in:
@@ -58,9 +58,9 @@ font pango:Noto Sans Regular 10
|
|||||||
### Idle configuration
|
### Idle configuration
|
||||||
set $lockman exec bash ~/.config/sway/scripts/lockman.sh
|
set $lockman exec bash ~/.config/sway/scripts/lockman.sh
|
||||||
exec swayidle -w \
|
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"' \
|
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
|
# 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
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ swayidle \
|
|||||||
timeout 10 'swaymsg "output * dpms off"' \
|
timeout 10 'swaymsg "output * dpms off"' \
|
||||||
resume 'swaymsg "output * dpms on"' &
|
resume 'swaymsg "output * dpms on"' &
|
||||||
# Locks the screen immediately
|
# 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
|
# Kills last background task so idle timer doesn't keep running
|
||||||
kill %%
|
kill %%
|
||||||
|
|||||||
Reference in New Issue
Block a user