Add floating rule for PrismLauncher

This commit is contained in:
Evie Litherland-Smith 2024-03-10 11:22:05 +00:00
parent 33b83ca6ed
commit 0073450802

View file

@ -196,43 +196,48 @@
++ (lib.lists.forEach layers ignorealpha);
windowrule = [
# Float + move system windows
"float,org.kde.polkit-kde-authentication-agent-1|Pinentry"
"center,org.kde.polkit-kde-authentication-agent-1|Pinentry"
"pin,org.kde.polkit-kde-authentication-agent-1|Pinentry"
"dimaround,org.kde.polkit-kde-authentication-agent-1|Pinentry"
"stayfocused,org.kde.polkit-kde-authentication-agent-1|Pinentry"
"float,pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
"size 800 600,pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
"float, org.kde.polkit-kde-authentication-agent-1|Pinentry"
"center, org.kde.polkit-kde-authentication-agent-1|Pinentry"
"pin, org.kde.polkit-kde-authentication-agent-1|Pinentry"
"dimaround, org.kde.polkit-kde-authentication-agent-1|Pinentry"
"stayfocused, org.kde.polkit-kde-authentication-agent-1|Pinentry"
"float, pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
"size 800 600, pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
"move onscreen 100%-820 60,pavucontrol|.blueman-manager-wrapped|nm-connection-editor"
# LibreOffice
"nomaximizerequest, (libreoffice|soffice)(.*)"
"nofullscreenrequest, (libreoffice|soffice)(.*)"
# PrismLauncher / Minecraft
"float, org.prismlauncher.PrismLauncher"
"center, org.prismlauncher.PrismLauncher"
"size 800 600, org.prismlauncher.PrismLauncher"
# Remmina / NoMachine
"nofullscreenrequest,org.remmina.Remmina|Nxplayer.bin"
"nomaximizerequest,org.remmina.Remmina|Nxplayer.bin"
"nofullscreenrequest, org.remmina.Remmina|Nxplayer.bin"
"nomaximizerequest, org.remmina.Remmina|Nxplayer.bin"
];
windowrulev2 = [
# Firefox PIP
"float,title:Picture-in-Picture|Library,class:firefox"
"size 750 400,title:Picture-in-Picture,class:firefox"
"size 800 800,title:Library,class:firefox"
"move onscreen 100%-775 100%-425,title:Picture-in-Picture,class:firefox"
"center,title:Library,class:firefox"
"pin,title:Picture-in-Picture,class:firefox"
"float, title:Picture-in-Picture|Library,class:firefox"
"size 750 400, title:Picture-in-Picture,class:firefox"
"size 800 800, title:Library,class:firefox"
"move onscreen 100%-775 100%-425, title:Picture-in-Picture,class:firefox"
"center, title:Library,class:firefox"
"pin, title:Picture-in-Picture,class:firefox"
# LibreOffice
"float,title:Open,class:(libreoffice|soffice)(.*)"
"float, title:Open,class:(libreoffice|soffice)(.*)"
# Steam
"float,title:Friends List,class:steam"
"float,title:Steam Settings,class:steam"
"float, title:Friends List,class:steam"
"float, title:Steam Settings,class:steam"
# Remmina / NoMachine
"float,title:Remmina Remote Desktop Client|Remmina Preferences,class:org.remmina.Remmina"
"size 800 600,title:Remmina Remote Desktop Client|Remmina Preferences,class:org.remmina.Remmina"
"move onscreen 100%-820 60,title:Remmina Remote Desktop Client|Remmina Preferences,class:org.remmina.Remmina"
"float, title:Remmina Remote Desktop Client|Remmina Preferences,class:org.remmina.Remmina"
"size 800 600, title:Remmina Remote Desktop Client|Remmina Preferences,class:org.remmina.Remmina"
"move onscreen 100%-820 60, title:Remmina Remote Desktop Client|Remmina Preferences,class:org.remmina.Remmina"
];
bind = let
withTerm = {