summaryrefslogtreecommitdiff
path: root/hypr/hypridle.conf
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2024-09-25 14:50:17 -0500
committerZachIR <zachir@librem.one>2024-09-25 14:50:17 -0500
commite58fd2b158686e7911f68dafa1dc1d71f789c4a4 (patch)
tree31e317627afdba1c2cb324b71fa177aee9c0aff4 /hypr/hypridle.conf
parent26f7b3d0cadf0adebe9ed88f0042c049781ccb80 (diff)
Remove swaylock from hypridle and stop hyprlock fades
Before, hypridle would launch swaylock before sleeping, but hyprlock when receiving the loginctl lock-session command. This has been fixed. In addition, hyprlock no longer fades.
Diffstat (limited to 'hypr/hypridle.conf')
-rw-r--r--hypr/hypridle.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf
index 9b6ea02..39ed177 100644
--- a/hypr/hypridle.conf
+++ b/hypr/hypridle.conf
@@ -1,7 +1,7 @@
general {
lock_cmd = hyprlock # dbus/sysd lock command (loginctl lock-session)
unlock_cmd = # same as above, but unlock
- before_sleep_cmd = swaylock # command ran before sleep
+ before_sleep_cmd = hyprlock # command ran before sleep
after_sleep_cmd = # command ran after sleep
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
}