diff --git a/tree/.config/hypr/hypridle.conf b/tree/.config/hypr/hypridle.conf new file mode 100644 index 0000000..e017361 --- /dev/null +++ b/tree/.config/hypr/hypridle.conf @@ -0,0 +1,18 @@ +general { + lock_cmd = screenlock + unlock_cmd = pkill -USR1 swaylock + #before_sleep_cmd = notify-send "Zzz" # command ran before sleep + #after_sleep_cmd = notify-send "Awake!" # command ran after sleep + ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam) +} + +listener { + timeout = 585 # seconds + on-timeout = notify-set idle-lock -t 14000 "Idle" "Locking in 15s..." + on-resume = notify-set idle-lock -t 1000 "Idle" "Never mind." +} + +listener { + timeout = 600 # seconds + on-timeout = loginctl lock-session +} diff --git a/tree/.config/hypr/hyprland.conf.tpl b/tree/.config/hypr/hyprland.conf.tpl index 9fe5641..97f5681 100644 --- a/tree/.config/hypr/hyprland.conf.tpl +++ b/tree/.config/hypr/hyprland.conf.tpl @@ -132,6 +132,8 @@ windowrule=size 300 100,title:Volume windowrule=move 100%-375 75,title:Volume windowrule=rounding 35,title:Volume windowrule=nofocus,title:Volume +windowrule=float,title:Jitsi Meet +windowrule=move 100%-375 75,title:Jitsi Meet # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = ALT