Everything is basically set up how I like it

This commit is contained in:
ManOfGoldForever 2026-02-01 12:48:07 -05:00
parent eb701b9b24
commit f58e511ddc
19 changed files with 626 additions and 223 deletions

View file

@ -1,67 +1,62 @@
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
# ┃ Windowrules Configuration
# ┃ Window Rules (new syntax)
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
# Windows Rules https://wiki.hyprland.org/Configuring/Window-Rules/ #
# --- 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
windowrulev2 = monitor DP-1, class:(dev.zed.Zed)
windowrulev2 = monitor HDMI-A-1, fullscreen, class:(steam_app_1808500)
windowrulev2 = monitor HDMI-A-1, class:(steam_app_1422450)
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$
# Float Necessary Windows
windowrule = tile, initialTitle:^(Godot)$
windowrule = float, class:^(org.pulseaudio.pavucontrol)
windowrule = float, class:^()$,title:^(Picture in picture)$
windowrule = float, class:^()$,title:^(Save File)$
windowrule = float, class:^()$,title:^(Open File)$
windowrule = float, class:^(LibreWolf)$,title:^(Picture-in-Picture)$
windowrule = float, class:^(blueman-manager)$
windowrule = float, class:^(xdg-desktop-portal-gtk|xdg-desktop-portal-kde|xdg-desktop-portal-hyprland)(.*)$
windowrule = float, class:^(polkit-gnome-authentication-agent-1|hyprpolkitagent|org.org.kde.polkit-kde-authentication-agent-1)(.*)$
windowrule = float, class:^(CachyOSHello)$
windowrule = float, class:^(zenity)$
windowrule = float, class:^()$,title:^(Steam - Self Updater)$
# Increase the opacity
windowrule = opacity 0.92, class:^(thunar|nemo)$
windowrule = opacity 0.96, class:^(discord|armcord|webcord)$
windowrule = opacity 0.95, title:^(QQ|Telegram)$
windowrule = opacity 0.95, title:^(NetEase Cloud Music Gtk4)$
# General window rules
windowrule = float, title:^(Picture-in-Picture)$
windowrule = size 960 540, title:^(Picture-in-Picture)$
windowrule = move 25%-, title:^(Picture-in-Picture)$
windowrule = float, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
windowrule = move 25%-, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
windowrule = size 960 540, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
windowrule = pin, title:^(danmufloat)$
windowrule = rounding 5, title:^(danmufloat|termfloat)$
windowrule = animation slide right, class:^(kitty|Alacritty)$
windowrule = noblur, class:^(org.mozilla.firefox)$
# Decorations related to floating windows on workspaces 1 to 10
windowrule = bordersize 2, floating:1, onworkspace:w[fv1-10]
windowrule = bordercolor $cachylblue, floating:1, onworkspace:w[fv1-10]
windowrule = rounding 8, floating:1, onworkspace:w[fv1-10]
# Decorations related to tiling windows on workspaces 1 to 10
windowrule = bordersize 3, floating:0, onworkspace:f[1-10]
windowrule = rounding 4, floating:0, onworkspace:f[1-10]
# Windows Rules End #
# --- 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 https://wiki.hyprland.org/Configuring/Workspace-Rules/ #
# workspace = 1, default:true, monitor:$priMon
# workspace = 3, default:true, monitor:$secMon
# Workspace selectors https://wiki.hyprland.org/Configuring/Workspace-Rules/#workspace-selectors
# workspace = r[1-2], monitor:$priMon
# workspace = r[3-5], monitor:$secMon
# workspace = special:scratchpad, on-created-empty:$applauncher
# no_gaps_when_only deprecated instead workspaces rules with selectors can do the same
# Smart gaps from 0.45.0 https://wiki.hyprland.org/Configuring/Workspace-Rules/#smart-gaps
workspace = w[tv1-10], gapsout:5, gapsin:3
workspace = f[1], gapsout:5, gapsin:3
# Workspaces Rules End #
# Layers Rules #
layerrule = animation slide top, logout_dialog
# layerrule = animation popin 50%, waybar
layerrule = animation slide down, waybar
layerrule = animation fade 50%, wallpaper
layerrule = animation slide, match:namespace ^waybar$
layerrule = animation fade, match:namespace ^swww-daemon$
# Layers Rules End #