sway: simplified floating rules

This commit is contained in:
Aly Raffauf 2024-04-28 21:58:04 -04:00
parent 2eb51ad82e
commit ce8684263b

View file

@ -363,51 +363,34 @@
pos = "-1920 0";
};
};
floating = {
criteria = [
{
app_id = "blueberry.py";
}
{
app_id = "pavucontrol";
}
{
app_id = "com.github.wwmm.easyeffects";
}
{
window_role = "dialog";
}
{
window_role = "pop-up";
}
{
window_role = "bubble";
}
{
window_type = "dialog";
}
];
};
window = {
titlebar = false;
commands = [
{
command = "floating enable; move position center";
criteria = {
app_id = "blueberry.py";
};
}
{
command = "floating enable; move position center";
criteria = {
app_id = "pavucontrol";
};
}
{
command = "floating enable; move position center";
criteria = {
app_id = "com.github.wwmm.easyeffects";
};
}
{
command = "floating enable; move position center";
criteria = {
window_role = "pop-up";
};
}
{
command = "floating enable; move position center";
criteria = {
window_role = "dialog";
};
}
{
command = "floating enable; move position center";
criteria = {
window_role = "bubble";
};
}
{
command = "floating enable; move position center";
criteria = {
window_type = "dialog";
};
}
{
command = "floating enable; sticky toggle; resize 35% 10%";
criteria = {