sway: float open file/open folder dialogs by title

This commit is contained in:
Aly Raffauf 2024-05-16 22:48:34 -04:00
parent 3cd6a5f4b5
commit 0b0948ff10

View file

@ -361,6 +361,8 @@
{app_id = "org.keepassxc.KeePassXC";} {app_id = "org.keepassxc.KeePassXC";}
{app_id = "pavucontrol";} {app_id = "pavucontrol";}
{app_id = "solaar";} {app_id = "solaar";}
{title = "Open File";}
{title = "Open Folder";}
{window_role = "bubble";} {window_role = "bubble";}
{window_role = "dialog";} {window_role = "dialog";}
{window_role = "pop-up";} {window_role = "pop-up";}
@ -377,6 +379,14 @@
app_id = "firefox"; app_id = "firefox";
}; };
} }
{
command = "resize set 40ppt 60ppt; move position center";
criteria = {title = "Open Folder";};
}
{
command = "resize set 40ppt 60ppt; move position center";
criteria = {title = "Open File";};
}
{ {
command = "resize set 40ppt 60ppt; move position center"; command = "resize set 40ppt 60ppt; move position center";
criteria = {app_id = "blueberry.py";}; criteria = {app_id = "blueberry.py";};