swayidle: add sputnik config
This commit is contained in:
@ -1,6 +0,0 @@
|
|||||||
lock '$HOME/.local/bin/screenlock'
|
|
||||||
|
|
||||||
timeout 530 'notify-send "Locking in 30s"'
|
|
||||||
before-sleep 'loginctl lock-session'
|
|
||||||
timeout 600 'loginctl lock-session'
|
|
||||||
timeout 610 'niri msg action power-off-monitors'
|
|
||||||
14
tree/.config/swayidle/config.tpl
Normal file
14
tree/.config/swayidle/config.tpl
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
lock '$HOME/.local/bin/screenlock'
|
||||||
|
before-sleep 'loginctl lock-session'
|
||||||
|
|
||||||
|
{% if hostname == "buran" %}
|
||||||
|
timeout 530 'notify-send "Locking in 30s"'
|
||||||
|
timeout 600 'loginctl lock-session'
|
||||||
|
timeout 610 'niri msg action power-off-monitors'
|
||||||
|
{% end %}
|
||||||
|
|
||||||
|
{% if hostname == "sputnik" %}
|
||||||
|
timeout 5030 'notify-send "Locking in 30s"'
|
||||||
|
timeout 6000 'loginctl lock-session'
|
||||||
|
timeout 6010 'niri msg action power-off-monitors'
|
||||||
|
{% end %}
|
||||||
Reference in New Issue
Block a user