64 lines
4.0 KiB
Plaintext
64 lines
4.0 KiB
Plaintext
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|
# ┃ Windowrules Configuration ┃
|
|
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|
|
|
# Windows Rules https://wiki.hyprland.org/Configuring/Window-Rules/ #
|
|
|
|
# Float Necessary Windows
|
|
windowrule = float on, match:class ^(org.pulseaudio.pavucontrol)
|
|
windowrule = float on, match:class ^()$, match:title ^(Picture in picture)$
|
|
windowrule = float on, match:class ^()$, match:title ^(Save File)$
|
|
windowrule = float on, match:class ^()$, 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|xdg-desktop-portal-kde|xdg-desktop-portal-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:class ^()$, match:title ^(Steam - Self Updater)$
|
|
|
|
windowrule = float on, center on, size 875 600, match:tag floating-window
|
|
windowrule = tag +floating-window, match:class (org.omarchy.bluetui|org.omarchy.impala|org.omarchy.wiremix|org.omarchy.btop|org.omarchy.terminal|org.omarchy.bash|org.gnome.NautilusPreviewer|org.gnome.Evince|com.gabm.satty|Omarchy|About|TUI.float|imv|mpv)
|
|
windowrule = tag +floating-window, match:class (xdg-desktop-portal-gtk|sublime_text|DesktopEditors|org.gnome.Nautilus), match:title ^(Open.*Files?|Open [F|f]older.*|Save.*Files?|Save.*As|Save|All Files|.*wants to [open|save].*|[C|c]hoose.*)
|
|
windowrule = tag +floating-window, match:title ^(EngineSharp.*)
|
|
|
|
# Increase the 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)$
|
|
# General window rules
|
|
windowrule = float on, size 960 540, move ((monitor_w*0.25)-), match:title ^(Picture-in-Picture)$
|
|
windowrule = float on, move ((monitor_w*0.25)-), size 960 540, match:title ^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
|
|
windowrule = pin on, match:title ^(danmufloat)$
|
|
windowrule = rounding 5, match:title ^(danmufloat|termfloat)$
|
|
windowrule = animation slide right, match:class ^(kitty|Alacritty)$
|
|
windowrule = no_blur on, match:class ^(org.mozilla.firefox)$
|
|
# Decorations related to floating windows on workspaces 1 to 10
|
|
windowrule = border_size 2, border_color $cachylblue, rounding 8, match:float 1, match:workspace w[fv1-10]
|
|
# Decorations related to tiling windows on workspaces 1 to 10
|
|
windowrule = border_size 3, rounding 4, match:float 0, match:workspace f[1-10]
|
|
# Windows Rules End #
|
|
|
|
# Workspaces Rules https://wiki.hyprland.org/Configuring/Workspace-Rules/ #
|
|
# workspace = 1, default:true, monitor:$priMon
|
|
# workspace = 6, default:true, monitor:$secMon
|
|
# Workspace selectors https://wiki.hyprland.org/Configuring/Workspace-Rules/#workspace-selectors
|
|
# workspace = r[1-5], monitor:$priMon
|
|
# workspace = r[6-10], 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, match:namespace logout_dialog
|
|
# layerrule = animation popin 50%, waybar
|
|
layerrule = animation slide down, match:namespace waybar
|
|
layerrule = animation fade 50%, match:namespace wallpaper
|
|
# Layers Rules End #
|
|
|
|
source = ./apps.conf
|