sway: center floating windows

This commit is contained in:
Aly Raffauf 2024-04-28 17:54:36 -04:00
parent 5b7a4630eb
commit 041feebb59

View file

@ -367,43 +367,43 @@
titlebar = false; titlebar = false;
commands = [ commands = [
{ {
command = "floating enable"; command = "floating enable; move position center";
criteria = { criteria = {
app_id = "blueberry.py"; app_id = "blueberry.py";
}; };
} }
{ {
command = "floating enable"; command = "floating enable; move position center";
criteria = { criteria = {
app_id = "pavucontrol"; app_id = "pavucontrol";
}; };
} }
{ {
command = "floating enable"; command = "floating enable; move position center";
criteria = { criteria = {
app_id = "com.github.wwmm.easyeffects"; app_id = "com.github.wwmm.easyeffects";
}; };
} }
{ {
command = "floating enable"; command = "floating enable; move position center";
criteria = { criteria = {
window_role = "pop-up"; window_role = "pop-up";
}; };
} }
{ {
command = "floating enable"; command = "floating enable; move position center";
criteria = { criteria = {
window_role = "dialog"; window_role = "dialog";
}; };
} }
{ {
command = "floating enable"; command = "floating enable; move position center";
criteria = { criteria = {
window_role = "bubble"; window_role = "bubble";
}; };
} }
{ {
command = "floating enable"; command = "floating enable; move position center";
criteria = { criteria = {
window_type = "dialog"; window_type = "dialog";
}; };
@ -415,12 +415,6 @@
app_id = "firefox"; app_id = "firefox";
}; };
} }
{
command = "xwayland disable";
criteria = {
class = "vlc";
};
}
]; ];
}; };
}; };