swayidle: Tweak notifications
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
before-sleep 'loginctl lock-session'
|
||||
|
||||
{% if hostname == "sputnik" %}
|
||||
timeout 1770 'notify-send "Locking in 30s"'
|
||||
timeout 1770 'notify-send --app-name=swayidle "Locking in 30s"'
|
||||
timeout 1800 'loginctl lock-session'
|
||||
{% else %}
|
||||
timeout 530 'notify-send "Locking in 30s"'
|
||||
timeout 530 'notify-send --app-name=swayidle "Locking in 30s"'
|
||||
timeout 600 'loginctl lock-session'
|
||||
{% end %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user