Tweak lockscreen and themes

This commit is contained in:
2024-10-03 21:27:31 +02:00
parent 3527a4fd65
commit 13d1b5a116
9 changed files with 236 additions and 15 deletions

View File

@ -1,14 +1,20 @@
{% if hostname == "sputnik" %}
lock '$HOME/.local/bin/screenlock-video'
{% elif hostname == "buran" %}
lock 'hyprlock'
{% else %}
lock '$HOME/.local/bin/screenlock'
{% end %}
before-sleep 'loginctl lock-session'
{% if hostname == "buran" %}
{% if hostname == "sputnik" %}
timeout 1770 'notify-send "Locking in 30s"'
timeout 1800 'loginctl lock-session'
{% else %}
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'
{% if hostname == "buran" %}
timeout 660 'niri msg action power-off-monitors'
{% end %}