129 lines
5.0 KiB
Plaintext
129 lines
5.0 KiB
Plaintext
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
|
|
|
|
# Xwaylandvideobridge (if installed)
|
|
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
|
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
|
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
|
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
|
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
|
|
|
|
|
|
|
# windowrule - tags - add apps under appropriate tag to use the same settings
|
|
# browser tags
|
|
windowrule = tag +browser, class:^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-esr|[Ff]irefox-bin)$
|
|
windowrule = tag +browser, class:^([Gg]oogle-chrome(-beta|-dev|-unstable)?)$
|
|
windowrule = tag +browser, class:^(chrome-.+-Default)$ # Chrome PWAs
|
|
windowrule = tag +browser, class:^([Cc]hromium)$
|
|
windowrule = tag +browser, class:^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstable))$
|
|
windowrule = tag +browser, class:^(Brave-browser(-beta|-dev|-unstable)?)$
|
|
windowrule = tag +browser, class:^([Tt]horium-browser|[Cc]achy-browser)$
|
|
windowrule = tag +browser, class:^(zen-alpha|zen|zen-browser)$
|
|
|
|
|
|
# terminal tags
|
|
windowrule = tag +terminal, class:^(Alacritty|kitty|Kitty)$
|
|
|
|
|
|
# project tags
|
|
windowrule = tag +projects, class:^(codium|codium-url-handler|VSCodium)$
|
|
windowrule = tag +projects, class:^(VSCode|code-url-handler)$
|
|
|
|
# IM tags
|
|
windowrule = tag +im, class:^([Dd]iscord|[Ww]ebCord|[Vv]esktop)$
|
|
windowrule = tag +im, class:^([Ff]erdium)$
|
|
windowrule = tag +im, class:^([Ww]hatsapp-for-linux)$
|
|
windowrule = tag +im, class:^(org.telegram.desktop|io.github.tdesktop_x64.TDesktop|materialgram)$
|
|
windowrule = tag +im, class:^(teams-for-linux)$
|
|
|
|
|
|
# file-manager tags
|
|
windowrule = tag +file-manager, class:^([Tt]hunar|org.gnome.Nautilus|[Pp]cmanfm-qt)$
|
|
windowrule = tag +file-manager, class:^(app.drey.Warp)$
|
|
|
|
|
|
# multimedia-video tags
|
|
windowrule = tag +multimedia_video, class:^([Mm]pv|vlc)$
|
|
|
|
# settings tags
|
|
windowrule = tag +settings, class:^(gnome-disks|wihotspot(-gui)?)$
|
|
windowrule = tag +settings, class:^(file-roller|org.gnome.FileRoller)$ # archive manager
|
|
windowrule = tag +settings, class:^(nm-applet|nm-connection-editor|blueman-manager)$
|
|
windowrule = tag +settings, class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$
|
|
windowrule = tag +settings, class:^(qt5ct|qt6ct|[Yy]ad)$
|
|
windowrule = tag +settings, class:(xdg-desktop-portal-gtk)
|
|
windowrule = tag +settings, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
|
|
|
# viewer tags
|
|
windowrule = tag +viewer, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$ # system monitor
|
|
windowrule = tag +viewer, class:^(evince|zathura)$ # document viewer
|
|
windowrule = tag +viewer, class:^(eog|org.gnome.Loupe|imv|imv-dir)$ # image viewer
|
|
|
|
|
|
# POSITION
|
|
# windowrule = center,floating:1 # warning, it cause even the menu to float and center.
|
|
windowrule = center, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*)
|
|
windowrule = center, class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$
|
|
windowrule = center, class:^([Ww]hatsapp-for-linux)$
|
|
windowrule = center, class:^([Ff]erdium)$
|
|
windowrule = move 72% 7%,title:^(Picture-in-Picture)$
|
|
#windowrule = move 72% 7%,title:^(Firefox)$
|
|
|
|
# windowrule move to workspace
|
|
windowrule = workspace 3, tag:browser*
|
|
windowrule = workspace 4, class:^([Tt]hunar)$
|
|
windowrule = workspace 6, tag:im*
|
|
|
|
|
|
# FLOAT
|
|
windowrule = float, tag:settings*
|
|
windowrule = float, tag:viewer*
|
|
windowrule = float, class:([Zz]oom|onedriver|onedriver-launcher)$
|
|
windowrule = float, class:(org.gnome.Calculator), title:(Calculator)
|
|
windowrule = float, class:^(mpv|com.github.rafostar.Clapper)$
|
|
windowrule = float, class:^([Qq]alculate-gtk)$
|
|
#windowrule = float, class:^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$
|
|
windowrule = float, class:^([Ff]erdium)$
|
|
windowrule = float, title:^(Picture-in-Picture)$
|
|
#windowrule = float, title:^(Firefox)$
|
|
|
|
# windowrule - ######### float popups and dialogue #######
|
|
windowrule = float, title:^(Authentication Required)$
|
|
windowrule = center, title:^(Authentication Required)$
|
|
#windowrule = float, class:(codium|codium-url-handler|VSCodium), title:negative:(.*codium.*|.*VSCodium.*)
|
|
windowrule = float, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*)
|
|
|
|
windowrule = float, title:^(Add Folder to Workspace)$
|
|
windowrule = size 70% 60%, title:^(Add Folder to Workspace)$
|
|
windowrule = center, title:^(Add Folder to Workspace)$
|
|
windowrule = float, title:^(Save As)$
|
|
windowrule = size 70% 60%, title:^(Save As)$
|
|
windowrule = center, title:^(Save As)$
|
|
|
|
windowrule = float, initialTitle:(Open Files)
|
|
windowrule = size 70% 60%, initialTitle:(Open Files)
|
|
|
|
|
|
# Kitty
|
|
windowrulev2 = float,class:^(kitty)$,title:^(Kitty)$
|
|
windowrulev2 = size 800 500, class^(kitty)$, title:^(Kitty)$
|
|
windowrulev2 = move center, class^(kitty)$, title:^(Kitty)$
|
|
windowrulev2 = animation slide, class:^(kitty)$, title:^(Kitty)$
|
|
windowrulev2 = float, class:^(kitty)$, title:^(Kitty)$
|
|
|
|
|
|
|
|
#Layer Rules
|
|
layerrule = noanim, hyprpicker
|
|
layerrule = noanim, selection
|
|
|
|
layerrule = noanim, noanim
|
|
layerrule = ignorezero, gtk-layer-shell
|
|
layerrule = noanim,selection
|
|
|
|
layerrule = noanim, fabric
|
|
# layerrule = animation slide, launcher
|
|
|
|
|