fix swaylock
This commit is contained in:
parent
d13cbc7a61
commit
f837fcacf4
|
@ -6,9 +6,9 @@ PartOf=graphical-session.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/swayidle -w \
|
ExecStart=/usr/bin/swayidle -w \
|
||||||
timeout 1200 'lock' \
|
timeout 600 'lock' \
|
||||||
timeout 1210 'swaymsg "output * dpms off"' \
|
timeout 30 'if pgrep swaylock; then swaymsg "output * dpms off"; fi' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'if pgrep swaylock; then swaymsg "output * dpms on"; fi' \
|
||||||
before-sleep 'lock'
|
before-sleep 'lock'
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 42bb2bf48bef881be504278cf5156371b542cf81
|
Subproject commit 476f6ca69922c9e67c408ae92dff0eb0ccb8ee51
|
Loading…
Reference in New Issue