From 4b309f0a5555b5fed5a65ee425dcb6da15421f5b Mon Sep 17 00:00:00 2001 From: steven-na Date: Sun, 26 Apr 2026 11:58:32 -0700 Subject: Initial commit. --- arch/hyprland/.config/hypr/windowrules.conf | 62 +++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 arch/hyprland/.config/hypr/windowrules.conf (limited to 'arch/hyprland/.config/hypr/windowrules.conf') diff --git a/arch/hyprland/.config/hypr/windowrules.conf b/arch/hyprland/.config/hypr/windowrules.conf new file mode 100644 index 0000000..6778846 --- /dev/null +++ b/arch/hyprland/.config/hypr/windowrules.conf @@ -0,0 +1,62 @@ +# ── Spotify transparency ────────────────────────────────────────────────────── +# Barely-noticeable opacity lets Hyprland's compositor blur show wallpaper +# bleed-through behind the CSS rgba panels in the spicetify theme. +windowrule { + name = spotify-transparency + match:class = Spotify + opacity = 0.90 override +} + +# ── Floating terminal (Super+Q with float-term class) ───────────────────────── +windowrule { + name = float-term + match:class = float-term + float = true + center = true + stay_focused = true + size = 900 600 +} + +# ── Wallpaper picker ───────────────────────────────────────────────────────── +windowrule { + name = wallpaper-picker + match:class = wallpaper-picker + float = true + center = true + size = 1200 700 +} + +# ── bemenu launcher window ──────────────────────────────────────────────────── +windowrule { + name = launcher + match:class = launcher + float = true + center = true + size = 800 500 +} + +# ── Suppress maximize requests ──────────────────────────────────────────────── +windowrule { + name = suppress-maximize + match:class = .* + suppress_event = maximize +} + +# ── Fix XWayland drag artifacts ─────────────────────────────────────────────── +windowrule { + name = fix-xwayland-drags + match:class = ^$ + match:title = ^$ + match:xwayland = true + match:float = true + match:fullscreen = false + match:pin = false + no_focus = true +} + +# ── Inhibit idle when fullscreen ───────────────────────────────────────────── +windowrule { + name = no-idle-fullscreen + match:fullscreen = true + idle_inhibit = fullscreen +} -- cgit v1.2.3