swayidle: Tweak notifications

This commit is contained in:
2026-02-19 14:09:26 +01:00
parent bab464f8f3
commit 16a2536955

View File

@@ -1,10 +1,10 @@
before-sleep 'loginctl lock-session' before-sleep 'loginctl lock-session'
{% if hostname == "sputnik" %} {% 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' timeout 1800 'loginctl lock-session'
{% else %} {% else %}
timeout 530 'notify-send "Locking in 30s"' timeout 530 'notify-send --app-name=swayidle "Locking in 30s"'
timeout 600 'loginctl lock-session' timeout 600 'loginctl lock-session'
{% end %} {% end %}