desktop: add rules for mate polkit

This commit is contained in:
Aly Raffauf 2024-08-09 21:20:32 -04:00
parent d9935bf1b2
commit 776b544728
2 changed files with 7 additions and 0 deletions

View file

@ -184,6 +184,7 @@ in {
"center(1),class:(gcr-prompter)" "center(1),class:(gcr-prompter)"
"center(1),class:(nm-connection-editor)" "center(1),class:(nm-connection-editor)"
"center(1),class:(pavucontrol)" "center(1),class:(pavucontrol)"
"center(1),class:(polkit-mate-authentication-agent-1)"
"float, class:^(firefox)$, title:^(Picture-in-Picture)$" "float, class:^(firefox)$, title:^(Picture-in-Picture)$"
"float,class:(.blueman-manager-wrapped)" "float,class:(.blueman-manager-wrapped)"
"float,class:(blueberry.py)" "float,class:(blueberry.py)"
@ -192,6 +193,7 @@ in {
"float,class:(pavucontrol)" "float,class:(pavucontrol)"
"move 70% 20%, class:^(firefox)$, title:^(Picture-in-Picture)$" "move 70% 20%, class:^(firefox)$, title:^(Picture-in-Picture)$"
"pin,class:(gcr-prompter)" "pin,class:(gcr-prompter)"
"pin,class:(polkit-mate-authentication-agent-1)"
"pin,class:^(firefox)$, title:^(Picture-in-Picture)$" "pin,class:^(firefox)$, title:^(Picture-in-Picture)$"
"size 40% 60%,class:(.blueman-manager-wrapped)" "size 40% 60%,class:(.blueman-manager-wrapped)"
"size 40% 60%,class:(blueberry.py)" "size 40% 60%,class:(blueberry.py)"
@ -199,6 +201,7 @@ in {
"size 40% 60%,class:(nm-connection-editor)" "size 40% 60%,class:(nm-connection-editor)"
"size 40% 60%,class:(pavucontrol)" "size 40% 60%,class:(pavucontrol)"
"stayfocused,class:(gcr-prompter)" "stayfocused,class:(gcr-prompter)"
"stayfocused,class:(polkit-mate-authentication-agent-1)"
"suppressevent maximize, class:.*" "suppressevent maximize, class:.*"
]; ];

View file

@ -196,6 +196,10 @@ in {
command = "focus; sticky toggle"; command = "focus; sticky toggle";
criteria = {app_id = "gcr-prompter";}; criteria = {app_id = "gcr-prompter";};
} }
{
command = "focus; sticky toggle";
criteria = {app_id = "polkit-mate-authentication-agent-1";};
}
{ {
command = "resize set 40ppt 60ppt; move position center"; command = "resize set 40ppt 60ppt; move position center";
criteria = {title = "Open Folder";}; criteria = {title = "Open Folder";};