Set lockscreen and backgrounds
This commit is contained in:
parent
7b0fd06364
commit
6bccbb04e1
@ -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
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user