feat: updated hyprland and added hypridle

This commit is contained in:
Megnas 2026-02-21 02:46:36 +01:00
parent fb0d1d5754
commit f8ea3ea4e3
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,9 @@
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
}
listener {
timeout = 60
on-timeout = loginctl lock-session
}

View File

@ -25,6 +25,7 @@ $menu = pkill wofi || wofi --show drun -i -I --term=alacritty
exec-once = swaync &
exec-once = waybar & hyprpaper
exec-once = hypridle
exec-once = copyq --start-server
exec-once = discord --start-minimized
exec-once = steam -silent
@ -50,7 +51,7 @@ ecosystem {
permission = /usr/(bin|local/bin)/grim, screencopy, allow
permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
permission = ${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}, screencopy, allow
permission = /usr/bin/hyprlock, screencopy, allow
permission = /usr/(bin|local/bin)/hyprpm, plugin, allow