summaryrefslogtreecommitdiff
path: root/arch/hyprland/.config/hypr/windowrules.conf
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-04-26 11:58:32 -0700
committersteven-na <noreply.github@stvnc.dev>2026-04-26 11:58:32 -0700
commit4b309f0a5555b5fed5a65ee425dcb6da15421f5b (patch)
treeb923f4f76df6205ee3099d9bf8072209ff9e8256 /arch/hyprland/.config/hypr/windowrules.conf
Initial commit.
Diffstat (limited to 'arch/hyprland/.config/hypr/windowrules.conf')
-rw-r--r--arch/hyprland/.config/hypr/windowrules.conf62
1 files changed, 62 insertions, 0 deletions
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
+}