summaryrefslogtreecommitdiff
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
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.
-rw-r--r--hypr/hypridle.conf2
-rw-r--r--hypr/hyprlock.conf4
2 files changed, 3 insertions, 3 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)
}
diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf
index 84d08ae..24208d6 100644
--- a/hypr/hyprlock.conf
+++ b/hypr/hyprlock.conf
@@ -2,8 +2,8 @@ general {
disable_loading_bar = false
hide_cursor = false
grace = 0
- no_fade_in = false
- no_fade_out = false
+ no_fade_in = true
+ no_fade_out = true
ignore_empty_input = false
}