mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
sway: center floating windows
This commit is contained in:
parent
5b7a4630eb
commit
041feebb59
|
@ -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";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue