summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-12-18 22:36:17 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-12-18 22:36:17 +0800
commit3bb812becd56a0e83dcb7e61e7d21f7698720baa (patch)
tree97f9879a87a5908c6f171a27eee5d7e299fa31a8
parentb2cbe86cd738d9178e194a8d99be93ab0aba7994 (diff)
rules: new tag for popup
add: more class and title
-rw-r--r--dot-config/hypr/rules.conf15
1 files changed, 11 insertions, 4 deletions
diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf
index dbbb08a3..650cb1ba 100644
--- a/dot-config/hypr/rules.conf
+++ b/dot-config/hypr/rules.conf
@@ -50,6 +50,12 @@ windowrulev2 = dimaround, tag:time-sensitive
windowrulev2 = center, tag:time-sensitive
windowrulev2 = float, tag:time-sensitive
+# popup
+# windowrulev2 = stayfocused, tag:popup
+windowrulev2 = dimaround, tag:popup
+windowrulev2 = center, tag:popup
+windowrulev2 = float, tag:popup
+
# cli util apps
windowrulev2 = float, tag:cli-utils
windowrulev2 = pin, tag:cli-utils
@@ -65,7 +71,7 @@ windowrulev2 = movetoworkspacesilent, special:minimized, tag:hidden
windowrulev2 = tag +terminal, class:^(Alacritty|Xfce4-terminal|Kitty)$
# Web browsers
-windowrulev2 = tag +web, class:^($browser|Brave-browser|chromium|firefox|thorium|zen-alpha)$
+windowrulev2 = tag +web, class:^($browser|Brave-browser|chromium|firefox|thorium|zen-alpha|zen-beta)$
# File managers
windowrulev2 = tag +file, class:^($fileManager|Pcmanfm|Thunar|qBittorrent|Caja)$
@@ -74,7 +80,7 @@ windowrulev2 = tag +file, class:^($fileManager|Pcmanfm|Thunar|qBittorrent|Caja)$
windowrulev2 = tag +code, class:^(Geany|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:^(Gucharmap|Atril|Evince|LibreOffice.*|libreoffice.*|Soffice|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b|evince)$
+windowrulev2 = tag +office, class:^(Gucharmap|Atril|Evince|LibreOffice.*|libreoffice.*|Soffice|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b|evince|ClickUp)$
# Communication apps
windowrulev2 = tag +communication, class:^(Thunderbird|TelegramDesktop|Hexchat|discord|vesktop|VencordDesktop|Chat-gpt|Whatsapp-for-linux|Chatbox)$
@@ -130,8 +136,9 @@ windowrulev2 = tag +fakefullscreen, class:^(thorium-mdpkiolbdkhdjpekfbkbmhigcagg
# Full screen applications
# time-sensitive app rules
-windowrulev2 = tag +time-sensitive, class:^(org.freedesktop.impl.portal.desktop.kde|polkit-gnome-authentication-agent-1|pinentry-|xdg-desktop-portal.*|hyprland-share-picker.*|gcr-prompter|io.missioncenter.MissionCenter)$
-windowrulev2 = tag +time-sensitive, title:^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Library|File Upload|.*- Properties)$
+windowrulev2 = tag +time-sensitive, class:^(polkit-gnome-authentication-agent-1|pinentry-|hyprland-share-picker.*|gcr-prompter|io.missioncenter.MissionCenter)$
+windowrulev2 = tag +popup, title:^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Library|File Upload|.*- Properties)$
+windowrulev2 = tag +popup, class:^(xdg-desktop-portal.*|org.freedesktop.impl.portal.desktop.kde|xdg-desktop-portal-gtk)$
windowrulev2 = dimaround, tag:time-sensitive
# rofi