From fc793e41b15cbe7c8b57f3cda0d57e925e4e4eac Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Thu, 29 May 2025 20:16:51 -0400 Subject: [PATCH] Remove hypridle / hyprlock sleeps --- README.org | 6 +++--- hypridle.conf | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 5766607..386b610 100644 --- a/README.org +++ b/README.org @@ -850,9 +850,9 @@ screencopy { #+BEGIN_SRC conf :tangle hypridle.conf general { - lock_cmd = pgrep hyprlock || (hyprlock && sleep 3) # avoid starting multiple hyprlock instances - before_sleep_cmd = loginctl lock-session && sleep 3 # lock before suspend - after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key to turn on the display + lock_cmd = pgrep hyprlock || hyprlock # avoid starting multiple hyprlock instances + before_sleep_cmd = loginctl lock-session # lock before suspend + after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key to turn on the display ignore_dbus_inhibit = false ignore_systemd_inhibit = false inhibit_sleep = 2 diff --git a/hypridle.conf b/hypridle.conf index 93ecf69..e078923 100644 --- a/hypridle.conf +++ b/hypridle.conf @@ -1,7 +1,7 @@ general { - lock_cmd = pgrep hyprlock || (hyprlock && sleep 3) # avoid starting multiple hyprlock instances - before_sleep_cmd = loginctl lock-session && sleep 3 # lock before suspend - after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key to turn on the display + lock_cmd = pgrep hyprlock || hyprlock # avoid starting multiple hyprlock instances + before_sleep_cmd = loginctl lock-session # lock before suspend + after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key to turn on the display ignore_dbus_inhibit = false ignore_systemd_inhibit = false inhibit_sleep = 2