summaryrefslogtreecommitdiff
path: root/dot-config/hypr/rules.conf
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-05 13:24:36 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-05 13:24:36 +0800
commitc0aa58b09876eee82b6df2c27a993a42db0bec9d (patch)
treef244798f4f14b91406b21d3b6c397a5fee4cc4f9 /dot-config/hypr/rules.conf
parent3f8159bd6fd193a252c9de73dec1ac742d34dc79 (diff)
bump: hyprland
Diffstat (limited to 'dot-config/hypr/rules.conf')
-rw-r--r--dot-config/hypr/rules.conf11
1 files changed, 7 insertions, 4 deletions
diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf
index 26c59683..1fcef340 100644
--- a/dot-config/hypr/rules.conf
+++ b/dot-config/hypr/rules.conf
@@ -58,6 +58,10 @@ windowrule = fullscreenstate 0 2, tag:fakefullscreen
windowrule = fullscreen, tag:games
# Tearing (for better gaming performance)
windowrule = immediate, tag:games
+# fh5
+windowrule = suppressevent activatefocus, title:^(Forza Horizon 5)$
+windowrule = suppressevent activatefocus, class:steam_app_1551360
+windowrule = suppressevent activatefocus, tag:games
# time-sensitive app rules
windowrule = stayfocused, tag:time-sensitive
@@ -113,7 +117,7 @@ windowrule = tag +games, title:^(War Thunder.*)$
windowrule = tag +games, content:game
# System/Settings applications
-windowrule = tag +system, class:^(virt-manager|blueman-adapters|GParted|Xdm-app|timeshift-gtk|com.nextcloud.desktopclient.nextcloud|gearlever|Lxappearance|Lxtask|Lxrandr|Arandr|System-config-printer.py|Pavucontrol|Exo-helper-1|Protonvpn|Xfce4-power-manager-settings|Mysql-workbench-bin|Grub-customizer|Nitrogen|archlinux-tweak-tool.py|pamac-manager|helvum|Vmware|btrfs-assistant|Bitwarden|wootility-lekker|nwg-look|com.github.wwmm.easyeffects|kvantummanager)$
+windowrule = tag +system, class:^(virt-manager|blueman-adapters|blueman-manager|GParted|Xdm-app|timeshift-gtk|com.nextcloud.desktopclient.nextcloud|gearlever|Lxappearance|Lxtask|Lxrandr|Arandr|System-config-printer.py|Pavucontrol|Exo-helper-1|Protonvpn|Xfce4-power-manager-settings|Mysql-workbench-bin|Grub-customizer|Nitrogen|archlinux-tweak-tool.py|pamac-manager|helvum|Vmware|btrfs-assistant|Bitwarden|wootility-lekker|nwg-look|com.github.wwmm.easyeffects|kvantummanager)$
# Miscellaneous applications
windowrule = tag +misc, class:^(os_server|Os_server)$
@@ -179,8 +183,8 @@ windowrule = stayfocused, title:^(btop)$
# No shadow for tiled window
windowrule = noshadow,floating:0
# no border for unfocused window
-windowrulev2 = noborder, focus:0
-windowrulev2 = noshadow, focus:0
+# windowrulev2 = noborder, focus:0
+# windowrulev2 = noshadow, focus:0
# Opacity rules
# windowrule = opacity 0.89 override 0.89 override, .* set in decoration
@@ -271,7 +275,6 @@ windowrule = nofocus, class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinne
# permissions
permission = /usr/bin/grim, screencopy, allow
-permission = /usr/bin/wf-recorder, screencopy, allow
permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
permission = /var/cache/hyprpm/system/dynamic-cursors/dynamic-cursors.so, plugin, allow