Prevent multiple hyprlocks
This commit is contained in:
parent
4dea7b99af
commit
8cdf4ab033
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user