From d999ca052f93ef977588645a20937d13b3cb49f4 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 28 Sep 2024 14:35:45 +0800 Subject: feat: added zzz(zenless zone zero) game, added title:(Open)(.*) to be treated like a file menu --- dot-config/hypr/rules.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf index fbc9ff78..7c406721 100644 --- a/dot-config/hypr/rules.conf +++ b/dot-config/hypr/rules.conf @@ -30,7 +30,7 @@ windowrulev2 = workspace 7, class:(Audacity|Music|MPlayer|Lxmusic|Inkscape|Gimp| windowrulev2 = workspace 7, title:(Spotify|Spotify Premium) # Games on workspace 8 -windowrulev2 = workspace 8, class:(Minecraft|Badlion|War|steam_proton|csgo_linux64|minecraft-launcher|lutris|genshinimpact.exe|moe.launcher.an-anime-game-launcher|lunarclient) +windowrulev2 = workspace 8, class:(Minecraft|Badlion|War|steam_proton|csgo_linux64|minecraft-launcher|lutris|genshinimpact.exe|moe.launcher.an-anime-game-launcher|lunarclient|zenlesszonezero.exe) # System/Settings applications on workspace 9 windowrulev2 = workspace 9, 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) @@ -76,6 +76,7 @@ windowrulev2 = fullscreenstate 0 2, class:(thorium-mdpkiolbdkhdjpekfbkbmhigcaggj # Games windowrulev2 = fullscreen, class:(genshinimpact.exe) +windowrulev2 = fullscreen, class:(zenlesszonezero.exe) # Special rules for Conky and stalonetray windowrulev2 = float, class:(Conky), manage=off @@ -97,6 +98,7 @@ windowrulev2 = stayfocused, class:^(xdg-desktop-portal.*)$ windowrulev2 = stayfocused, class:^(hyprland-share-picker.*)$ windowrulev2 = stayfocused, class:^(org.freedesktop.impl.portal.desktop.kde)$ windowrule = stayfocused, title:^(Open File)(.*)$ +windowrule = stayfocused, title:^(Open)(.*)$ windowrule = stayfocused, title:^(Select a File)(.*)$ windowrule = stayfocused, title:^(Choose wallpaper)(.*)$ windowrule = stayfocused, title:^(Open Folder)(.*)$ @@ -114,6 +116,7 @@ windowrulev2 = dimaround, class:^(pinentry-) windowrulev2 = dimaround, class:^(xdg-desktop-portal.*)$ windowrulev2 = dimaround, class:^(hyprland-share-picker.*)$ windowrule = center, title:^(Open File)(.*)$ +windowrule = center, title:^(Open)(.*)$ windowrule = center, title:^(Select a File)(.*)$ windowrule = center, title:^(Choose wallpaper)(.*)$ windowrule = center, title:^(Open Folder)(.*)$ @@ -123,6 +126,7 @@ windowrule = center, title:^(Library)(.*)$ windowrule = center, title:^(File Upload)(.*)$ windowrulev2 = float, class:^(xdg-desktop-portal.*)$ windowrule=float,title:^(Open File)(.*)$ +windowrule=float,title:^(Open)(.*)$ windowrule=float,title:^(Select a File)(.*)$ windowrule=float,title:^(Choose wallpaper)(.*)$ windowrule=float,title:^(Open Folder)(.*)$ @@ -161,6 +165,7 @@ windowrulev2 = opacity 0.90 0.80, class:^thunar$ windowrulev2 = opacity 0.85 0.75, class:^discord$ windowrulev2 = opacity 0.90 0.80, class:^Caja$ windowrulev2 = opacity 0.80 0.70, class:^polkit-gnome-authentication-agent-1$ +windowrulev2 = opacity 0.80 0.70, title:^(Open)(.*)$ windowrulev2 = opacity 0.8 0.5, title:New Tab @@ -202,6 +207,7 @@ windowrule = immediate,.*\.exe windowrulev2 = immediate,class:(steam_app) windowrulev2 = immediate,class:(Minecraft.*) windowrulev2 = immediate,class:(genshinimpact.exe) +windowrulev2 = immediate,class:(zenlesszonezero.exe) windowrulev2 = immediate,class:(Lunar Client.*) windowrulev2 = immediate,class:(lunarclient) -- cgit v1.2.3