[idle;lock] Switches to swaylock

This commit is contained in:
2025-05-28 12:23:14 -07:00
parent efab3866c2
commit aa6402cf7c
6 changed files with 96 additions and 93 deletions

View File

@@ -4,7 +4,7 @@
enable = true;
settings = {
general = {
lock_cmd = "pidof hyprlock || hyprlock"; # avoid starting multiple hyprlock instances.
lock_cmd = "pidof swaylock || swaylock"; # avoid starting multiple lock instances.
before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
};