add waylock config, switch sway to waylock
parent
f0b01496c2
commit
2d2638b493
|
@ -44,10 +44,10 @@ output VGA-1 disable
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 900 'swaylock -f -c 000000' \
|
timeout 900 '"waylock &"' \
|
||||||
timeout 1200 'swaymsg "output * dpms off"' \
|
timeout 1200 'swaymsg "output * dpms off"' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
before-sleep 'swaylock -f -c 000000'
|
before-sleep '"waylock &"'
|
||||||
#
|
#
|
||||||
# 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
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
# waylock.toml
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
# Specify the initial color of the lock screen.
|
||||||
|
init_color = 0x000000
|
||||||
|
# Specify the color of the lock screen after input is received.
|
||||||
|
input_color = 0x005577
|
||||||
|
# Specify the color of the lock screen on authentication failure.
|
||||||
|
fail_color = 0xcc3333
|
Loading…
Reference in New Issue