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