Remove unnecessary brackets from some regular expressions

This commit is contained in:
Evie Litherland-Smith 2024-01-30 09:23:11 +00:00
parent 66c0b65f2c
commit 364260fb46

View file

@ -169,43 +169,43 @@
++ (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)"
"move onscreen 100%-820 60,(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)(.*)"
# 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
workspace = w: [