diff options
| -rw-r--r-- | config/hypr/UserConfigs/WindowRules-v3.conf | 160 |
1 files changed, 39 insertions, 121 deletions
diff --git a/config/hypr/UserConfigs/WindowRules-v3.conf b/config/hypr/UserConfigs/WindowRules-v3.conf index f093faf6..ea15fe87 100644 --- a/config/hypr/UserConfigs/WindowRules-v3.conf +++ b/config/hypr/UserConfigs/WindowRules-v3.conf @@ -2,95 +2,14 @@ # For window rules and layerrules # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -# NOTES: This is only for Hyprland > 0.52 +# NOTES: This is only for Hyprland > 0.52.1 -# note for ja: This should NOT be implemented on Debian and Ubuntu +# note: This should NOT be implemented on Debian and Ubuntu -# windowrule - tags - add apps under appropriate tag to use the same settings -# browser tags -# notif tags -# KooL settings tag -# terminal tags -# email tags -# project tags -# screenshare tags -# IM tags -# game tags -# gamestore tags -# file-manager tags -# wallpaper tags -# multimedia tags -# multimedia-video tags -# settings tags -# viewer tags -# Some special override rules - -# POSITION -# windowrule = center,floating:1 # warning, it cause even the menu to float and center. -#windowrule = move 72% 7%,title:^(Firefox)$ -# windowrule to avoid idle for fullscreen apps -#windowrule = idleinhibit fullscreen, class:^(*)$ -#windowrule = idleinhibit fullscreen, title:^(*)$ - -# windowrule move to workspace -#windowrule = workspace 1, tag:email* -#windowrule = workspace 2, tag:browser* -#windowrule = workspace 3, class:^([Tt]hunar)$ -#windowrule = workspace 3, tag:projects* -#windowrule = workspace 5, tag:gamestore* -#windowrule = workspace 7, tag:im* -#windowrule = workspace 8, tag:games* - -# windowrule move to workspace (silent) -#windowrule = workspace 4 silent, tag:screenshare* -#windowrule = workspace 6 silent, class:^(virt-manager)$ -#windowrule = workspace 6 silent, class:^(.virt-manager-wrapped)$ -#windowrule = workspace 9 silent, tag:multimedia* +# --- Converted to v3 Window rules --- # -# FLOAT -#windowrule = float, class:^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$ -#windowrule = float, title:^(Firefox)$ - -# windowrule - ######### float popups and dialogue ####### - - -# OPACITY - -# SIZE - -#windowrule = size 25% 25%, title:^(Picture-in-Picture)$ -#windowrule = size 25% 25%, title:^(Firefox)$ - -# PINNING -#windowrule = pin,title:^(Firefox)$ - -# windowrule - extras - -# BLUR & FULLSCREEN - -#This not gonna take the focus to the window that appears when hovering over some of the parts of the IntelliJ Products - -#This will gonna make the VS Code bluer like other apps - -#windowrule = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1 -#windowrule = bordercolor rgb(282737) rgb(1E1D2D), floating:1 -#windowrule = opacity 0.8 0.8, pinned:1 - -# LAYER RULES - -#layerrule = ignorealpha 0.5, tag:notif* - -#layerrule = ignorezero, class:^([Rr]ofi)$ -#layerrule = blur, class:^([Rr]ofi)$ -#layerrule = unset,class:^([Rr]ofi)$ -#layerrule = ignorezero, <rofi> - -#layerrule = ignorezero, overview -#layerrule = blur, overview - -# --- Auto-generated window rules --- windowrule { name = windowrule-1 match:class = ^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-esr|[Ff]irefox-bin)$ @@ -214,10 +133,10 @@ windowrule { windowrule { name = windowrule-21 match:class = ^([Ff]erdium)$ + tag = +im center = on float = on - size = 60% = 70% - tag = +im + size = (monitor_w*0.6) (monitor_h*0.7) } windowrule { @@ -313,8 +232,8 @@ windowrule { windowrule { name = windowrule-37 match:title = ^(ROG Control)$ - center = on tag = +settings + center = on } windowrule { @@ -356,8 +275,8 @@ windowrule { windowrule { name = windowrule-44 match:class = ^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$ - center = on tag = +settings + center = on } windowrule { @@ -414,7 +333,7 @@ windowrule { match:tag = KooL_Cheat* center = on float = on - size = 65% = 90% + size = (monitor_w*0.65) (monitor_h*0.9) } windowrule { @@ -442,16 +361,17 @@ windowrule { name = windowrule-57 match:class = ^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$ center = on - size = 60% = 70% + size = (monitor_w*0.6) (monitor_h*0.7) } windowrule { name = windowrule-58 match:title = ^(Picture-in-Picture)$ + move = 72% 7% float = on - move = 72% = 7% - opacity = 0.95 = 0.75 - pin = 0 + opacity = 0.95 0.75 + pin = on + keep_aspect_ratio = on } windowrule { @@ -464,23 +384,23 @@ windowrule { name = windowrule-60 match:tag = wallpaper* float = on - opacity = 0.9 = 0.7 - size = 70% = 70% + opacity = 0.9 0.7 + size = (monitor_w*0.7) (monitor_h*0.7) } windowrule { name = windowrule-61 match:tag = settings* float = on - opacity = 0.8 = 0.7 - size = 70% = 70% + opacity = 0.8 0.7 + size = (monitor_w*0.7) (monitor_h*0.7) } windowrule { name = windowrule-62 match:tag = viewer* float = on - opacity = 0.82 = 0.75 + opacity = 0.82 0.75 } windowrule { @@ -511,8 +431,8 @@ windowrule { windowrule { name = windowrule-67 match:title = ^(Authentication Required)$ - center = on float = on + center = on } windowrule { @@ -539,100 +459,99 @@ windowrule { windowrule { name = windowrule-71 match:title = ^(Add Folder to Workspace)$ - center = on float = on - size = 70% = 60% + size = (monitor_w*0.7) (monitor_h*0.6) + center = on } windowrule { name = windowrule-72 match:title = ^(Save As)$ - center = on float = on - size = 70% = 60% + size = (monitor_w*0.7) (monitor_h*0.6) + center = on } windowrule { name = windowrule-73 match:initial_title = (Open Files) float = on - size = 70% = 60% + size = (monitor_w*0.7) (monitor_h*0.6) } windowrule { name = windowrule-74 match:title = ^(SDDM Background)$ #KooL's Dots YAD for setting SDDM background - center = on float = on - size = 16% = 12% + center = on + size = (monitor_w*0.16) (monitor_h*0.12) } windowrule { name = windowrule-75 match:tag = browser* - opacity = 0.99 = 0.8 + opacity = 0.99 0.8 } windowrule { name = windowrule-76 match:tag = projects* - opacity = 0.9 = 0.8 + opacity = 0.9 0.8 } windowrule { name = windowrule-77 match:tag = im* - opacity = 0.94 = 0.86 + opacity = 0.94 0.86 } windowrule { name = windowrule-78 match:tag = multimedia* - opacity = 0.94 = 0.86 + opacity = 0.94 0.86 } windowrule { name = windowrule-79 match:tag = file-manager* - opacity = 0.9 = 0.8 + opacity = 0.9 0.8 } windowrule { name = windowrule-80 match:tag = terminal* - opacity = 0.9 = 0.7 + opacity = 0.9 0.7 } windowrule { name = windowrule-81 match:class = ^(gedit|org.gnome.TextEditor|mousepad)$ - opacity = 0.8 = 0.7 + opacity = 0.8 0.7 } windowrule { name = windowrule-82 match:class = ^(deluge)$ - opacity = 0.9 = 0.8 + opacity = 0.9 0.8 } windowrule { name = windowrule-83 match:class = ^(seahorse)$ # gnome-keyring gui - opacity = 0.9 = 0.8 + opacity = 0.9 0.8 } windowrule { name = windowrule-84 match:class = ^(code)$ opacity = 0.8 - opacity = 0.9 } windowrule { name = windowrule-85 match:tag = games* - fullscreen = 0 no_blur = on + fullscreen = on } windowrule { @@ -650,22 +569,21 @@ windowrule { # --- Auto-generated layer rules --- layerrule { name = layerrule-1 - match:namespace = rofi blur = on ignore_alpha = 0 + match:namespace = rofi } layerrule { name = layerrule-2 - match:namespace = notifications blur = on ignore_alpha = 0 + match:namespace = notifications } layerrule { name = layerrule-3 - match:namespace = quickshell:overview blur = on - ignore_alpha = 0 ignore_alpha = 0.5 + match:namespace = quickshell:overview } |
