Set lockscreen and backgrounds

This commit is contained in:
RealStickman 2022-07-20 20:02:38 +02:00 committed by exu
parent 6d2dbc4144
commit 9c8e86fcbf

View File

@ -53,7 +53,7 @@ input * {
### Output configuration ### Output configuration
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/) # Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
output * bg ~/.cache/betterlockscreen/current/wall_dim.png fill output * bg $HOME/.cache/backgrounds/desktop.png fill
# Example configuration: # Example configuration:
# #
@ -77,9 +77,9 @@ output * bg ~/.cache/betterlockscreen/current/wall_dim.png fill
# -c 000000 sets the color in RGB # -c 000000 sets the color in RGB
# use -i to set an image # use -i to set an image
exec swayidle -w \ exec swayidle -w \
timeout 300 'swaylock -f -e -c 000000' \ timeout 300 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen.png"' \
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 -e -c 000000' before-sleep 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen.png"'
### Input configuration ### Input configuration
# #