Fix font on Sway lockscreen

This commit is contained in:
Fabio Scotto di Santolo
2025-08-12 15:49:51 +02:00
parent de4b6ae048
commit d9743705b0
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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 %%