From 8cdf4ab03331ce978e34e8a1db44a7b556fafa21 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sat, 26 Oct 2024 14:37:09 -0500 Subject: [PATCH] Prevent multiple hyprlocks --- hyprland/.config/hypr/hypridle.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprland/.config/hypr/hypridle.conf b/hyprland/.config/hypr/hypridle.conf index 8f1564e3..67c0abb1 100644 --- a/hyprland/.config/hypr/hypridle.conf +++ b/hyprland/.config/hypr/hypridle.conf @@ -1,7 +1,7 @@ # vim: set ft=config: # for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hypridle general { - lock_cmd = hyprlock + lock_cmd = pgrep -u "$USER" hyprlock || hyprlock unlock_cmd = pkill -xu "$USER" -SIGUSR1 hyprlock }