swayidle: Configurable display-off and display-on commands
This commit is contained in:
parent
b27c24a1b8
commit
0d0d0e7059
1 changed files with 2 additions and 1 deletions
|
@ -1 +1,2 @@
|
||||||
timeout 10 'pgrep swaylock && swaymsg "output * dpms off"' resume 'pgrep swaylock && swaymsg "output * dpms on"'
|
timeout 10 'pgrep swaylock && ${host.get('display-off-cmd', 'swaymsg "output * dpms off"')}' \
|
||||||
|
resume 'pgrep swaylock && ${host.get('display-on-cmd', 'swaymsg "output * dpms on"')}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue