dotfiles/.config/hypr/config/windowrules.conf

63 lines
3.4 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
# ┃ Window Rules (new syntax) ┃
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
# --- Monitor placement ---
windowrule = monitor DP-1, match:class ^dev\.zed\.Zed$
windowrule = monitor HDMI-A-1, match:class ^steam_app_1808500$, fullscreen 1
windowrule = monitor HDMI-A-1, match:class ^steam_app_1422450$, fullscreen 1
windowrule = monitor HDMI-A-1, match:class ^steam_app_594650$, fullscreen 1
windowrule = monitor HDMI-A-1, match:class ^steam_app_3819230$, fullscreen 1
windowrule = monitor HDMI-A-1, size 1920 1080, match:class ^steam_app_686060$, fullscreen 1
windowrule = tile on, match:initial_title ^Godot$
windowrule = float on, size 400 600, match:initial_title ^HyperX Alpha$
windowrule = float on, match:class ^org.pulseaudio.pavucontrol$
windowrule = float on, match:title ^Picture in picture$
windowrule = float on, match:title ^Save File$
windowrule = float on, match:title ^Open File$
windowrule = float on, match:class ^LibreWolf$, match:title ^Picture-in-Picture$
windowrule = float on, match:class ^blueman-manager$
windowrule = float on, match:class ^xdg-desktop-portal-(gtk|kde|hyprland)$
windowrule = float on, match:class ^polkit-gnome-authentication-agent-1|hyprpolkitagent|org\.org\.kde\.polkit-kde-authentication-agent-1$
windowrule = float on, match:class ^CachyOSHello$
windowrule = float on, match:class ^zenity$
windowrule = float on, match:title ^Steam - Self Updater$
# --- Opacity ---
windowrule = opacity 0.92, match:class ^(thunar|nemo)$
windowrule = opacity 0.96, match:class ^(discord|armcord|webcord)$
windowrule = opacity 0.95, match:title ^(QQ|Telegram)$
windowrule = opacity 0.95, match:title ^NetEase Cloud Music Gtk4$
# --- Picture-in-Picture ---
windowrule = float on, match:title ^Picture-in-Picture$
windowrule = size 960 540, match:title ^Picture-in-Picture$
windowrule = move 25% 5%, match:title ^Picture-in-Picture$
# --- Media / utility floats ---
windowrule = float on, match:title ^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
windowrule = move 25% 5%, match:title ^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
windowrule = size 960 540, match:title ^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
windowrule = pin on, match:title ^danmufloat$
windowrule = rounding 5, match:title ^(danmufloat|termfloat)$
# --- Animations / effects ---
windowrule = animation slide right, match:class ^(kitty|Alacritty)$
windowrule = no_blur on, match:class ^org\.mozilla\.firefox$
# --- Floating window decorations (workspaces 110) ---
windowrule = border_size 2, match:float on, match:workspace w[fv1-10]
windowrule = border_color $cachylblue, match:float on, match:workspace w[fv1-10]
windowrule = rounding 8, match:float on, match:workspace w[fv1-10]
# --- Tiling window decorations (workspaces 110) ---
windowrule = border_size 3, match:float off, match:workspace f[1-10]
windowrule = rounding 4, match:float off, match:workspace f[1-10]
# Workspaces Rules End #
# Layers Rules #
layerrule = animation slide, match:namespace ^waybar$
layerrule = animation fade, match:namespace ^swww-daemon$
# Layers Rules End #