Prevent multiple hyprlocks

This commit is contained in:
Salt 2024-10-26 14:37:09 -05:00
parent 4dea7b99af
commit 8cdf4ab033

View File

@ -1,7 +1,7 @@
# vim: set ft=config: # vim: set ft=config:
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hypridle # for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hypridle
general { general {
lock_cmd = hyprlock lock_cmd = pgrep -u "$USER" hyprlock || hyprlock
unlock_cmd = pkill -xu "$USER" -SIGUSR1 hyprlock unlock_cmd = pkill -xu "$USER" -SIGUSR1 hyprlock
} }