aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorbrockar <martinnguzman.mg@gmail.com>2026-01-05 17:23:38 -0300
committerbrockar <martinnguzman.mg@gmail.com>2026-01-05 17:23:38 -0300
commit4845eacf3e6aa3f88ff284a2505d1efbd5fe6417 (patch)
tree3976d17cb0e5c5b697704c7a7fb327218fe23a63 /config
parent7c4f5ce9553cdba1dfc9066c701bd2587326a49f (diff)
feat(hypr): update window rules for zed, antigravity, and qalculate
Diffstat (limited to 'config')
-rw-r--r--config/hypr/configs/WindowRules-config-v3.conf74
1 files changed, 38 insertions, 36 deletions
diff --git a/config/hypr/configs/WindowRules-config-v3.conf b/config/hypr/configs/WindowRules-config-v3.conf
index a81cc20d..a09501ed 100644
--- a/config/hypr/configs/WindowRules-config-v3.conf
+++ b/config/hypr/configs/WindowRules-config-v3.conf
@@ -2,25 +2,22 @@
# Vendor defaults for window rules and layerrules
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
-# NOTES: This is only for Hyprland > 0.53
+# NOTES: This is only for Hyprland >= 0.53
-# Some samples on how to start apps on specific workspaces
-# windowrule move to workspace
-#windowrule = workspace 1, match:tag email*
-#windowrule = workspace 2, match:tag browser*
-#windowrule = workspace 3, match:class ^([Tt]hunar)$
-#windowrule = workspace 3, match:tag projects*
-#windowrule = workspace 5, match:tag gamestore*
-#windowrule = workspace 7, match:tag im*
-#windowrule = workspace 8, match:tag games*
+# Some samples on hwo to start apps on specific workspaces
+# windowrule = match:tag email*, workspace 1
+# windowrule = match:tag browser*, workspace 2
+# windowrule = match:tag projects*, workspace 3
+# windowrule = match:tag screenshare*, workspace 4 silent
+# windowrule = match:tag gamestore*, workspace 5
+# windowrule = match:class ^(virt-manager)$, workspace 6 silent
+# windowrule = match:class ^(.virt-manager-wrapped)$, workspace 6 silent
+# windowrule = match:tag im*, workspace 7
+# windowrule = match:class obsidian, workspace 8
+# windowrule = match:tag games*, workspace 8
+# windowrule = match:tag multimedia*, workspace 9 silent
-#windowrule move to workspace (silent)
-#windowrule = workspace 4 silent, match:tag screenshare*
-#windowrule = workspace 6 silent, match:class ^(virt-manager)$
-#windowrule = workspace 6 silent, match:class ^(.virt-manager-wrapped)$
-#windowrule = workspace 9 silent, match:tag multimedia*
-
-# windowrule - tags - add apps under appropriate tag to use the same settings
+# TAGS - add apps under appropriate tag to use the same settings
# browser tags
windowrule = match:class ^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-esr|[Ff]irefox-bin)$, tag +browser
windowrule = match:class ^([Gg]oogle-chrome(-beta|-dev|-unstable)?)$, tag +browser
@@ -29,7 +26,7 @@ windowrule = match:class ^([Cc]hromium)$, tag +browser
windowrule = match:class ^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstable))$, tag +browser
windowrule = match:class ^(Brave-browser(-beta|-dev|-unstable)?)$, tag +browser
windowrule = match:class ^([Tt]horium-browser|[Cc]achy-browser)$, tag +browser
-windowrule = match:class ^(zen-alpha|zen)$, tag +browser
+windowrule = match:class ^(zen)$, tag +browser
# notif tags
windowrule = match:class ^(swaync-control-center|swaync-notification-window|swaync-client|class)$, tag +notif
@@ -50,6 +47,7 @@ windowrule = match:class ^(eu.betterbird.Betterbird)$, tag +email
windowrule = match:class ^(codium|codium-url-handler|VSCodium)$, tag +projects
windowrule = match:class ^(VSCode|code|code-url-handler)$, tag +projects
windowrule = match:class ^(jetbrains-.+)$, tag +projects
+windowrule = match:class ^(dev.zed.Zed|antigravity)$, tag +projects
# screenshare tags
windowrule = match:class ^(com.obsproject.Studio)$, tag +screenshare
@@ -107,9 +105,10 @@ windowrule = match:class ^(eog|org.gnome.Loupe)$, tag +viewer
# Some special override rules
windowrule = match:tag multimedia_video, no_blur on
windowrule = match:tag multimedia_video, opacity 1.0
+windowrule = match:tag multimedia, no_blur on
+windowrule = match:tag multimedia, opacity 1.0
# POSITION
-# windowrule = match:floating true, center on
windowrule = match:tag KooL_Cheat, center on
windowrule = match:class ([Tt]hunar) match:title negative:(.*[Tt]hunar.*), center on
windowrule = match:title ^(ROG Control)$, center on
@@ -118,7 +117,6 @@ windowrule = match:title ^(Keybindings)$, center on
windowrule = match:class ^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$, center on
windowrule = match:class ^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$, center on
windowrule = match:class ^([Ff]erdium)$, center on
-windowrule = match:title ^(Picture-in-Picture)$, move 72% 7%
# windowrule to avoid idle for fullscreen apps
windowrule = match:fullscreen true, idle_inhibit fullscreen
@@ -133,18 +131,12 @@ windowrule = match:tag settings, float on
windowrule = match:tag viewer, float on
windowrule = match:tag KooL-Settings, float on
windowrule = match:class ([Zz]oom|onedriver|onedriver-launcher), float on
-windowrule = match:class (org.gnome.Calculator), float on
+windowrule = match:class (org.gnome.Calculator|qalculate-gtk), float on
windowrule = match:class ^(mpv|com.github.rafostar.Clapper)$, float on
windowrule = match:class ^([Qq]alculate-gtk)$, float on
windowrule = match:class ^([Ff]erdium)$, float on
-windowrule = match:title ^(Picture-in-Picture)$, float on
-
-# Float and center dialog boxes by default
-rule = float(true), match:modal:1
-rule = center(true), match:modal:1
-
-# windowrule - ######### float popups and dialogue #######
+# popups and dialogue
windowrule = match:title ^(Authentication Required)$, float on, center on
windowrule = match:class (codium|codium-url-handler|VSCodium) match:title negative:(.*codium.*|.*VSCodium.*), float on
windowrule = match:class ^(com.heroicgameslauncher.hgl)$ match:title negative:(Heroic Games Launcher), float on
@@ -154,10 +146,7 @@ windowrule = match:title ^(Add Folder to Workspace)$, float on, size (monitor_w*
windowrule = match:title ^(Save As)$, float on, size (monitor_w*0.7) (monitor_h*0.6), center on
windowrule = match:initial_title (Open Files), float on, size (monitor_w*0.7) (monitor_h*0.6)
windowrule = match:title ^(SDDM Background)$, float on, center on, size (monitor_w*0.16) (monitor_h*0.12)
-
-# YAD dialog for wallpaper confirmation
windowrule = match:class ^(yad)$, float on, center on, size (monitor_w*0.2) (monitor_h*0.2)
-# END of float popups and dialogue #######
# OPACITY
windowrule = match:tag browser, opacity 0.99 0.8
@@ -172,23 +161,22 @@ windowrule = match:tag wallpaper, opacity 0.9 0.7
windowrule = match:class ^(gedit|org.gnome.TextEditor|mousepad)$, opacity 0.8 0.7
windowrule = match:class ^(deluge)$, opacity 0.9 0.8
windowrule = match:class ^(seahorse)$, opacity 0.9 0.8
-windowrule = match:title ^(Picture-in-Picture)$, opacity 0.95 0.75
# SIZE
windowrule = match:tag KooL_Cheat, size (monitor_w*0.65) (monitor_h*0.9)
windowrule = match:tag wallpaper, size (monitor_w*0.7) (monitor_h*0.7)
windowrule = match:tag settings, size (monitor_w*0.7) (monitor_h*0.7)
-windowrule = match:class ^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$, size (monitor_w*0.6) (monitor_h*0.7)
windowrule = match:class ^([Ff]erdium)$, size (monitor_w*0.6) (monitor_h*0.7)
+windowrule = match:class (org.gnome.Calculator|qalculate-gtk), center on, size (monitor_w*0.25) (monitor_h*0.3)
+windowrule = match:class ^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$, size (monitor_w*0.6) (monitor_h*0.5)
-# PINNING
-windowrule = match:title ^(Picture-in-Picture)$, pin on, keep_aspect_ratio on
# BLUR & FULLSCREEN
windowrule = match:tag games, no_blur on, fullscreen 0
windowrule = match:tag games, fullscreen 0
-# This not gonna take the focus to the window that appears when hovering over some of the parts of the IntelliJ Products
+# This not gonna take the focus to the window that appears when
+# hovering over some of the parts of the IntelliJ Products
windowrule = match:class ^(jetbrains-*), no_initial_focus on
windowrule = match:title ^(wind.*)$, no_initial_focus on
@@ -197,3 +185,17 @@ layerrule = match:namespace rofi, blur on
layerrule = match:namespace notifications, blur on
layerrule = match:namespace quickshell:overview, blur on
layerrule = match:namespace quickshell:overview, ignore_alpha 0.5
+
+# Picture-in-Picture
+windowrule {
+ name = Picture-in-Picture
+ match:title = ^(Picture-in-Picture)$
+ float = on
+ move = 72% 7%
+ opacity = 0.95 0.75
+ pin = on
+ keep_aspect_ratio = on
+ size = (monitor_w*0.3) (monitor_h*0.3)
+}
+
+
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage