Add Hyprland work config
This commit is contained in:
11
hyprland-work/.config/hypr/hypridle.conf
Normal file
11
hyprland-work/.config/hypr/hypridle.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
# vim: set ft=config:
|
||||
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hypridle
|
||||
general {
|
||||
lock_cmd = pgrep -u "$USER" hyprlock || hyprlock
|
||||
unlock_cmd = pkill -xu "$USER" -SIGUSR1 hyprlock
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 900
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
Reference in New Issue
Block a user