diff options
Diffstat (limited to 'config/hypr/configs/WindowRules.conf')
| -rw-r--r-- | config/hypr/configs/WindowRules.conf | 60 |
1 files changed, 56 insertions, 4 deletions
diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf index 8212e9bf..29d5c274 100644 --- a/config/hypr/configs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -1,4 +1,9 @@ -# /* ---- 💫 https://github.com/LinuxBeginnings 💫 ---- */ # +# ================================================== +# KoolDots (2026) +# Project URL: https://github.com/LinuxBeginnings +# License: GNU GPLv3 +# SPDX-License-Identifier: GPL-3.0-or-later +# ================================================== # Vendor defaults for window rules and layerrules # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more @@ -37,7 +42,7 @@ windowrule = match:title ^(KooL Hyprland Settings)$, tag +KooL_Settings windowrule = match:class ^(nwg-displays|nwg-look)$, tag +KooL-Settings # terminal tags -windowrule = match:class ^(Alacritty|kitty|kitty-dropterm)$, tag +terminal +windowrule = match:class ^(ghostty|wezterm|Alacritty|kitty|kitty-dropterm)$, tag +terminal # email tags windowrule = match:class ^([Tt]hunderbird|org.mozilla.Thunderbird)$, tag +email @@ -116,6 +121,7 @@ windowrule = match:class ^([Qq]alculate-gtk)$, float on # float popups and dialogue windowrule = match:title ^(Authentication Required)$, float on, center on +windowrule = match:class ^(xfce-polkit|mate-polkit|polkit-mate-authentication-agent-1)$, match:title ^(Authentication required|Authentication Required)$, float on, center on, size (monitor_w*0.35) (monitor_h*0.35) 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 windowrule = match:class ^([Ss]team)$, match:title negative:^([Ss]team)$, float on @@ -166,6 +172,18 @@ layerrule = match:namespace notifications, blur on layerrule = match:namespace quickshell:overview, blur on layerrule = match:namespace quickshell:overview, ignore_alpha 0.5 +# +layerrule = blur on, match:namespace wallpaper +layerrule = animation slide, match:namespace rofi +layerrule = animation slide, match:namespace notifications + +# Optional Layer rules +# To Resolve blurred corners in rofi Add to User config +# SUPER SHIFT + E Edit User Window Rules +#layerrule = blur on, ignore_alpha 0, match:namespace rofi +#layerrule = blur on, match:namespace waybar + + windowrule { name = Picture-in-Picture match:title = ^[Pp]icture-in-[Pp]icture$ @@ -189,6 +207,40 @@ windowrule { size = (monitor_w*0.6) (monitor_h*0.6) } +# Named rule for Mainline Kernels +windowrule { + name = Mainline Kernels + match:class = ^(mainline-gtk)$ + match:title = ^(Mainline Kernels)$ + match:initial_class = ^(mainline-gtk)$ + match:initial_title = ^(Mainline Kernels)$ + float = on + center = on + size = (monitor_w*0.45) (monitor_h*0.55) +} + +# Named rule for Kwallet +windowrule { + name = Kwallet + match:class = ^(org.kde.kwalletmanager)$ + match:title = ^(Wallet Manager)$ + match:initial_class = ^(org.kde.kwalletmanager)$ + match:initial_title = ^(Wallet Manager)$ + float = on + center = on + size = (monitor_w*0.6) (monitor_h*0.6) +} +# Named rule for NVIDIA Settings +windowrule { + name = NVIDIA Settings + match:class = ^(nvidia-settings)$ + match:title = ^(NVIDIA Settings)$ + match:initial_class = ^(nvidia-settings)$ + match:initial_title = ^(NVIDIA Settings)$ + float = on + center = on + size = (monitor_w*0.6) (monitor_h*0.6) +} # Named rule for CachyOS Package Installer windowrule { name = CachyOS Package Installer @@ -326,7 +378,7 @@ windowrule { match:class = (org.gnome.Calculator|qalculate-gtk) float = on center = on - size = (monitor_w*0.25) (monitor_h*0.3) + size = (monitor_w*0.55) (monitor_h*0.45) } # Named rule for Thunar Dialogs @@ -347,5 +399,5 @@ windowrule { match:initial_title = ^(Bitwarden)$ float = on center = on - size = (monitor_w*0.6) (monitor_h*0.6) + size = (monitor_w*0.6) (monitor_h*0.6) } |
