Files
nix/config/hypr/config/permissions.conf
2025-11-08 21:18:07 +02:00

30 lines
1.2 KiB
Plaintext

ecosystem {
enforce_permissions = true
}
permission = /nix/store/[A-Za-z0-9]+\-(wrapped-)?(grim|hyprlock|xdg-desktop-portal-hyprland|obs-studio|hyprpicker)\-.*, screencopy, allow
permission = /(usr/)?bin/(grim|hyprlock|xdg-desktop-portal-hyprland|obs-studio|hyprpicker), screencopy, allow
permission = /run/current-system/sw/bin/(grim|hyprlock|xdg-desktop-portal-hyprland|obs-studio|hyprpicker), screencopy, allow
permission = /usr/lib(exec)?/xdg-desktop-portal-hyprland, screencopy, allow
permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
# hyprlang noerror true
source = ~/config/.hyprfail.conf
# hyprland noerror false
# windowrulev2 = noscreenshare, class:^(equibop)$
# /swedbank|checkout|billing/i
# windowrulev2 = noscreenshare,title:.*([S|s]wedbank|[Cc]heckout|[Bb]illing).*
windowrule = supressevent fullscreen,class:steam_proton,title:(Wine Desktop)
windowrule = supressevent maximize,class:steam_proton,title:(Wine Desktop)
windowrule = supressevent activate,class:steam_proton,title:(Wine Desktop)
windowrule = supressevent activatefocus,class:steam_proton,title:(Wine Desktop)
windowrule = supressevent fullscreenoutput,class:steam_proton,title:(Wine Desktop)
# windowrule = pin,class:steam_proton