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;
commands = [
{
command = "floating enable";
command = "floating enable; move position center";
criteria = {
app_id = "blueberry.py";
};
}
{
command = "floating enable";
command = "floating enable; move position center";
criteria = {
app_id = "pavucontrol";
};
}
{
command = "floating enable";
command = "floating enable; move position center";
criteria = {
app_id = "com.github.wwmm.easyeffects";
};
}
{
command = "floating enable";
command = "floating enable; move position center";
criteria = {
window_role = "pop-up";
};
}
{
command = "floating enable";
command = "floating enable; move position center";
criteria = {
window_role = "dialog";
};
}
{
command = "floating enable";
command = "floating enable; move position center";
criteria = {
window_role = "bubble";
};
}
{
command = "floating enable";
command = "floating enable; move position center";
criteria = {
window_type = "dialog";
};
@ -415,12 +415,6 @@
app_id = "firefox";
};
}
{
command = "xwayland disable";
criteria = {
class = "vlc";
};
}
];
};
};