Improve lockscreen
This commit is contained in:
@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user