diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-02-05 18:36:15 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-02-05 18:36:15 +0800 |
| commit | 6e7c3eccf289a53747232e256a66610303a19c18 (patch) | |
| tree | ef254b568a8c5fb1194b40b4033aca5a1125c45c | |
| parent | 465f094ecb56fb085af3996dfac052c79da07838 (diff) | |
hypr(rules): adapt content-type-v1
| -rw-r--r-- | dot-config/hypr/rules.conf | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf index fe9f6af0..20bf441f 100644 --- a/dot-config/hypr/rules.conf +++ b/dot-config/hypr/rules.conf @@ -5,7 +5,7 @@ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules -# Tag +### TAG ### # workspaces windowrulev2 = workspace 1, tag:terminal windowrulev2 = workspace 2, tag:web @@ -18,6 +18,11 @@ windowrulev2 = workspace 8, tag:games windowrulev2 = workspace 9, tag:system windowrulev2 = workspace 10, tag:misc +# content hints(content-type-v1) +windowrulev2 = content game, tag:games +# windowrulev2 = content media, tag:media-contents + + # GUI Utils windowrulev2 = opacity 0.85 0.75, tag:gui-utils windowrulev2 = pin, tag:gui-utils @@ -64,6 +69,8 @@ windowrulev2 = dimaround, tag:cli-utils # hidden windowrulev2 = movetoworkspacesilent, special:minimized, tag:hidden +### END TAG ### + # Group # windowrule = group, ^virt-manager$ @@ -92,8 +99,7 @@ windowrulev2 = tag +media, class:^(Audacity|Music|MPlayer|Lxmusic|Inkscape|Gimp| windowrulev2 = tag +games, class:^(Minecraft|Badlion|War|steam_proton|steam|csgo_linux64|cs2|minecraft-launcher|lutris|genshinimpact.exe|moe.launcher.an-anime-game-launcher|lunarclient|Lunar Client.*|zenlesszonezero.exe|moe.launcher.sleepy-launcher|org.vinegarhq.Sober|War Thunder.*)$ windowrule = tag +games, title:.*\.exe windowrulev2 = tag +games, title:^(War Thunder.*)$ -# for testing -windowrulev2 = tag +games, title:vkcube +windowrulev2 = tag +games, content:game # System/Settings applications windowrulev2 = 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)$ @@ -102,7 +108,7 @@ windowrulev2 = tag +system, class:^(virt-manager|blueman-adapters|GParted|Xdm-ap windowrulev2 = tag +misc, class:^(os_server|Os_server)$ # floating applications -windowrulev2 = float, class:^(zoom|sxiv|Sxiv|viewnior|feh|nm-connection-editor|install4j-burp-StartBurp|thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|float|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper|electron|com.github.rafostar.Clapper)$ +windowrulev2 = float, class:^(zoom|sxiv|Sxiv|Viewnior|feh|nm-connection-editor|install4j-burp-StartBurp|thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|float|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper|electron|com.github.rafostar.Clapper)$ windowrulev2 = float, title:^(Steam Settings|Sign in – Google accounts)$ # pin apps |
