summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-03-23 13:30:48 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-03-23 13:30:48 +0800
commit19bb8075b899c3de7ee3dc01cc66c5dab578eb9f (patch)
tree5f7e7a9ce22ec2dc6d9c16aa79bb1fa04d3e580b
parentb7cddda0739bd1fe1b2b1ab76853b231b369dfca (diff)
rename(rules): windowrulev2 -> windowrule
-rw-r--r--dot-config/hypr/rules.conf226
1 files changed, 113 insertions, 113 deletions
diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf
index 85a14f22..228a5fb9 100644
--- a/dot-config/hypr/rules.conf
+++ b/dot-config/hypr/rules.conf
@@ -7,68 +7,68 @@
### TAG ###
# workspaces
-windowrulev2 = workspace 1, tag:terminal
-windowrulev2 = workspace 2, tag:web
-windowrulev2 = workspace 3, tag:file
-windowrulev2 = workspace 4, tag:code
-windowrulev2 = workspace 5, tag:office
-windowrulev2 = workspace 6, tag:communication
-windowrulev2 = workspace 7, tag:media
-windowrulev2 = workspace 8, tag:games
-windowrulev2 = workspace 9, tag:system
-windowrulev2 = workspace 10, tag:misc
+windowrule = workspace 1, tag:terminal
+windowrule = workspace 2, tag:web
+windowrule = workspace 3, tag:file
+windowrule = workspace 4, tag:code
+windowrule = workspace 5, tag:office
+windowrule = workspace 6, tag:communication
+windowrule = workspace 7, tag:media
+windowrule = workspace 8, tag:games
+windowrule = workspace 9, tag:system
+windowrule = workspace 10, tag:misc
# content hints(content-type-v1)
-windowrulev2 = content game, tag:games
-# windowrulev2 = content media, tag:media-contents
+windowrule = content game, tag:games
+# windowrule = content media, tag:media-contents
# GUI Utils
-windowrulev2 = opacity 0.85 0.75, tag:gui-utils
-windowrulev2 = pin, tag:gui-utils
-windowrulev2 = size 53% 60%, tag:gui-utils
-windowrulev2 = move 46.5% 4.8%, tag:gui-utils
-windowrulev2 = animation slide right top, tag:gui-utils
+windowrule = opacity 0.85 0.75, tag:gui-utils
+windowrule = pin, tag:gui-utils
+windowrule = size 53% 60%, tag:gui-utils
+windowrule = move 46.5% 4.8%, tag:gui-utils
+windowrule = animation slide right top, tag:gui-utils
# media contents
-windowrulev2 = float, tag:media-contents
-windowrulev2 = pin, tag:media-contents
-windowrulev2 = move 100%-w-$outer_gaps, tag:media-contents
-windowrulev2 = noinitialfocus, tag:media-contents
-windowrulev2 = noshadow, tag:media-contents
-windowrulev2 = keepaspectratio, tag:media-contents
-windowrulev2 = nodim, tag:media-contents
+windowrule = float, tag:media-contents
+windowrule = pin, tag:media-contents
+windowrule = move 100%-w-$outer_gaps, tag:media-contents
+windowrule = noinitialfocus, tag:media-contents
+windowrule = noshadow, tag:media-contents
+windowrule = keepaspectratio, tag:media-contents
+windowrule = nodim, tag:media-contents
# It grabs our focus when it change video
-windowrulev2 = suppressevent activatefocus, tag:media-contents
+windowrule = suppressevent activatefocus, tag:media-contents
# fake fullscreen
-windowrulev2 = fullscreenstate 0 2, tag:fakefullscreen
+windowrule = fullscreenstate 0 2, tag:fakefullscreen
# Games
-windowrulev2 = fullscreen, tag:games
+windowrule = fullscreen, tag:games
# Tearing (for better gaming performance)
-windowrulev2 = immediate, tag:games
+windowrule = immediate, tag:games
# time-sensitive app rules
-windowrulev2 = stayfocused, tag:time-sensitive
-windowrulev2 = pin, tag:time-sensitive
-windowrulev2 = dimaround, tag:time-sensitive
-windowrulev2 = center, tag:time-sensitive
-windowrulev2 = float, tag:time-sensitive
+windowrule = stayfocused, tag:time-sensitive
+windowrule = pin, tag:time-sensitive
+windowrule = dimaround, tag:time-sensitive
+windowrule = center, tag:time-sensitive
+windowrule = float, tag:time-sensitive
# popup
-# windowrulev2 = stayfocused, tag:popup
-windowrulev2 = dimaround, tag:popup
-windowrulev2 = center, tag:popup
-windowrulev2 = float, tag:popup
+# windowrule = stayfocused, tag:popup
+windowrule = dimaround, tag:popup
+windowrule = center, tag:popup
+windowrule = float, tag:popup
# cli util apps
-windowrulev2 = float, tag:cli-utils
-windowrulev2 = pin, tag:cli-utils
-windowrulev2 = dimaround, tag:cli-utils
+windowrule = float, tag:cli-utils
+windowrule = pin, tag:cli-utils
+windowrule = dimaround, tag:cli-utils
# hidden
-windowrulev2 = movetoworkspacesilent, special:minimized, tag:hidden
+windowrule = movetoworkspacesilent, special:minimized, tag:hidden
### END TAG ###
@@ -76,120 +76,120 @@ windowrulev2 = movetoworkspacesilent, special:minimized, tag:hidden
# windowrule = group, ^virt-manager$
# Terminal applications
-windowrulev2 = tag +terminal, class:^(Alacritty|Xfce4-terminal|Kitty|$terminal|com.mitchellh.ghostty)$
+windowrule = tag +terminal, class:^(Alacritty|Xfce4-terminal|Kitty|$terminal|com.mitchellh.ghostty)$
# Web browsers
-windowrulev2 = tag +web, class:^($browser|Brave-browser|chromium|firefox|thorium|zen)$
+windowrule = tag +web, class:^($browser|Brave-browser|chromium|firefox|thorium|zen)$
# File managers
-windowrulev2 = tag +file, class:^($fileManager|Pcmanfm|Thunar|qBittorrent|Caja)$
+windowrule = tag +file, class:^($fileManager|Pcmanfm|Thunar|qBittorrent|Caja)$
# Code editors
-windowrulev2 = tag +code, class:^(code|code-url-handler|cursor-url-handler|code-oss|Code - OSS|install4j-burp-StartBurp|burp-StartBurp|Unity|jetbrains-pycharm-ce|Postman|jetbrains-clion)$
+windowrule = tag +code, class:^(code|code-url-handler|cursor-url-handler|code-oss|Code - OSS|install4j-burp-StartBurp|burp-StartBurp|Unity|jetbrains-pycharm-ce|Postman|jetbrains-clion)$
# Office applications
-windowrulev2 = tag +office, class:^(LibreOffice.*|libreoffice.*|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b|evince|ClickUp)$
+windowrule = tag +office, class:^(LibreOffice.*|libreoffice.*|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b|evince|ClickUp)$
# Communication apps
-windowrulev2 = tag +communication, class:^(discord|vesktop|VencordDesktop|Chat-gpt|Whatsapp-for-linux|Chatbox)$
+windowrule = tag +communication, class:^(discord|vesktop|VencordDesktop|Chat-gpt|Whatsapp-for-linux|Chatbox)$
# Media applications
-windowrulev2 = tag +media, class:^(Audacity|Music|MPlayer|Lxmusic|Inkscape|Gimp|Blender|obs|zoom|Zoom|Pitivi|kdenlive|openshot|vlc|cider|Cider|shotwell|Shotwell|fr.handbrake.ghb|Spotify)$
+windowrule = tag +media, class:^(Audacity|Music|MPlayer|Lxmusic|Inkscape|Gimp|Blender|obs|zoom|Zoom|Pitivi|kdenlive|openshot|vlc|cider|Cider|shotwell|Shotwell|fr.handbrake.ghb|Spotify)$
# Games
-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.*|steam_app_.*)$
+windowrule = 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.*|steam_app_.*)$
windowrule = tag +games, title:.*\.exe
-windowrulev2 = tag +games, title:^(War Thunder.*)$
-windowrulev2 = tag +games, content:game
+windowrule = tag +games, title:^(War Thunder.*)$
+windowrule = 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)$
+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)$
# Miscellaneous applications
-windowrulev2 = tag +misc, class:^(os_server|Os_server)$
+windowrule = 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|io.github.celluloid_player.Celluloid)$
-windowrulev2 = float, title:^(Steam Settings|Sign in – Google accounts)$
+windowrule = 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|io.github.celluloid_player.Celluloid)$
+windowrule = float, title:^(Steam Settings|Sign in – Google accounts)$
# pin apps
-windowrulev2 = pin, title:^(zoom_linux_float_video_window)$
+windowrule = pin, title:^(zoom_linux_float_video_window)$
# specificly sized
-# windowrulev2 = size 40% 40%, class:^(alacritty-float)$
+# windowrule = size 40% 40%, class:^(alacritty-float)$
# Sticky applicationsp
# App that have menu on top for stayfocused, without this, menus will dissappear when you move ur mouse
-windowrulev2 = stayfocused, title:(menu window)
+windowrule = stayfocused, title:(menu window)
# GUI Utils applications
-windowrulev2 = tag +gui-utils, class:^(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper)$
-windowrulev2 = animation slide right top, tag:gui-utils
+windowrule = tag +gui-utils, class:^(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper)$
+windowrule = animation slide right top, tag:gui-utils
# bitwarden chrome extension popup
-windowrulev2 = pin, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
-windowrulev2 = float, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
-windowrulev2 = stayfocused, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
+windowrule = pin, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
+windowrule = float, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
+windowrule = stayfocused, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
# firefox
-windowrulev2 = float, title:^Extension
+windowrule = float, title:^Extension
# for media contents
-windowrulev2 = tag +media-contents, class:^(blobdrop|dragon)$
+windowrule = tag +media-contents, class:^(blobdrop|dragon)$
# PIP
-windowrulev2 = tag +media-contents, title:^(Picture-in-Picture)$
-windowrulev2 = size 25% 25%, title:^(Picture-in-Picture)$
+windowrule = tag +media-contents, title:^(Picture-in-Picture)$
+windowrule = size 25% 25%, title:^(Picture-in-Picture)$
# removes title/border
-windowrulev2 = tag +fakefullscreen, class:^(thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default)$
+windowrule = tag +fakefullscreen, class:^(thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default)$
# Full screen applications
# time-sensitive app rules
-windowrulev2 = tag +time-sensitive, class:^(polkit-gnome-authentication-agent-1|hyprland-share-picker.*|gcr-prompter|io.missioncenter.MissionCenter|hyprpolkitagent|hyprland-dialog|.*pinentry.*)$
-windowrulev2 = tag +popup, title:^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Library|File Upload|.*- Properties|Enter name of file to save to.*)$
-windowrulev2 = tag +popup, class:^(xdg-desktop-portal.*|.*.portal..*)$
-windowrulev2 = dimaround, tag:time-sensitive
+windowrule = tag +time-sensitive, class:^(polkit-gnome-authentication-agent-1|hyprland-share-picker.*|gcr-prompter|io.missioncenter.MissionCenter|hyprpolkitagent|hyprland-dialog|.*pinentry.*)$
+windowrule = tag +popup, title:^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Library|File Upload|.*- Properties|Enter name of file to save to.*)$
+windowrule = tag +popup, class:^(xdg-desktop-portal.*|.*.portal..*)$
+windowrule = dimaround, tag:time-sensitive
# rofi
-# windowrulev2 = float, class:^(Rofi)
-# windowrulev2 = pin, class:^(Rofi)
-# windowrulev2 = dimaround, class:^(Rofi)
+# windowrule = float, class:^(Rofi)
+# windowrule = pin, class:^(Rofi)
+# windowrule = dimaround, class:^(Rofi)
# util apps
-windowrulev2 = tag +cli-utils, title:^(nmd|cliphist|pulsemixer|ranger|btop)$
-windowrulev2 = dimaround, tag:cli-utils
-windowrulev2 = stayfocused, title:^(btop)$
+windowrule = tag +cli-utils, title:^(nmd|cliphist|pulsemixer|ranger|btop)$
+windowrule = dimaround, tag:cli-utils
+windowrule = stayfocused, title:^(btop)$
-# windowrulev2 = stayfocused, title:^(rofi - Command|rofi - Confirmation|rofi - ArchLinux (hyprland))
+# windowrule = stayfocused, title:^(rofi - Command|rofi - Confirmation|rofi - ArchLinux (hyprland))
# No shadow for tiled window
-windowrulev2 = noshadow,floating:0
+windowrule = noshadow,floating:0
# Opacity rules
# windowrule = opacity 0.89 override 0.89 override, .* set in decoration
-# windowrulev2 = opacity 0.95 0.90, class:.+
-# windowrulev2 = opacity 0.85 0.75, class:^code-oss$
-# windowrulev2 = opacity 0.85 0.75, class:^code$
-# windowrulev2 = opacity 0.85 0.75, class:^code-url-handler$
-windowrulev2 = opacity 0.85 0.75, class:^cursor-url-handler$
-windowrulev2 = opacity 0 0, title:^Myass$
-windowrulev2 = opacity 1.00 0.90, class:^TelegramDesktop$
-windowrulev2 = opacity 0.90 0.80, class:^Spotify$
-windowrulev2 = opacity 0.90 0.80, class:^Cider$
-windowrulev2 = opacity 0.90 0.80, class:^Brave-browser$
-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 - Thorium$
-# windowrulev2 = ignorezero, title:Annotation - Zoom
+# windowrule = opacity 0.95 0.90, class:.+
+# windowrule = opacity 0.85 0.75, class:^code-oss$
+# windowrule = opacity 0.85 0.75, class:^code$
+# windowrule = opacity 0.85 0.75, class:^code-url-handler$
+windowrule = opacity 0.85 0.75, class:^cursor-url-handler$
+windowrule = opacity 0 0, title:^Myass$
+windowrule = opacity 1.00 0.90, class:^TelegramDesktop$
+windowrule = opacity 0.90 0.80, class:^Spotify$
+windowrule = opacity 0.90 0.80, class:^Cider$
+windowrule = opacity 0.90 0.80, class:^Brave-browser$
+windowrule = opacity 0.90 0.80, class:^thunar$
+windowrule = opacity 0.85 0.75, class:^discord$
+windowrule = opacity 0.90 0.80, class:^Caja$
+windowrule = opacity 0.80 0.70, class:^polkit-gnome-authentication-agent-1$
+windowrule = opacity 0.80 0.70, title:^Open$
+windowrule = opacity 0.8 0.5, title:^New Tab - Thorium$
+# windowrule = ignorezero, title:Annotation - Zoom
# Full screen no idle
-windowrulev2 = idleinhibit fullscren, class:.*
+windowrule = idleinhibit fullscren, class:.*
# no blurs
-windowrulev2 = noblur, title:^(Annotation - Zoom)$
+windowrule = noblur, title:^(Annotation - Zoom)$
# Layer rules/blur
@@ -225,29 +225,29 @@ layerrule = animation gnome 0%, mpvpaper
# Misc
# xwaylandvideobridge
-windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
-windowrulev2 = noanim, class:^(xwaylandvideobridge)$
-windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
-windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
-windowrulev2 = noblur, class:^(xwaylandvideobridge)$
+windowrule = opacity 0.0 override, class:^(xwaylandvideobridge)$
+windowrule = noanim, class:^(xwaylandvideobridge)$
+windowrule = noinitialfocus, class:^(xwaylandvideobridge)$
+windowrule = maxsize 1 1, class:^(xwaylandvideobridge)$
+windowrule = noblur, class:^(xwaylandvideobridge)$
# Roblox join private server
-windowrulev2 = float, title:^(Join Friends)$ class:^(org.vinegarhq.Sober)$
+windowrule = float, title:^(Join Friends)$ class:^(org.vinegarhq.Sober)$
# No transparency for fullscreen windows
-windowrulev2 = plugin:chromakey,fullscreen:0
+windowrule = plugin:chromakey,fullscreen:0
# suppressevent
# Ignore maximize requests from apps. You'll probably like this.
-# windowrulev2 = suppressevent maximize, class:.*
-windowrulev2 = suppressevent activatefocus activate, class:Spotify
+# windowrule = suppressevent maximize, class:.*
+windowrule = suppressevent activatefocus activate, class:Spotify
# Fix some dragging issues with XWayland
-windowrulev2 = nofocus, class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
+windowrule = nofocus, class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
-# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
-# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
-# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
-# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
+# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
+# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
+# windowrule = bordersize 0, floating:0, onworkspace:f[1]
+# windowrule = rounding 0, floating:0, onworkspace:f[1]