chore: clean up sway config

This commit is contained in:
Swarsel 2024-12-05 02:30:07 +01:00
parent b84e87ed21
commit b85919af9b
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 18 additions and 42 deletions

View file

@ -8644,28 +8644,22 @@ Currently, I am too lazy to explain every option here, but most of it is very se
titlebar = false; titlebar = false;
}; };
assigns = { assigns = {
"16:F" = [{ app_id = "firefox"; }];
"15:L" = [{ app_id = "teams-for-linux"; }]; "15:L" = [{ app_id = "teams-for-linux"; }];
}; };
floating = { floating = {
border = 1; border = 1;
criteria = [ criteria = [
{ title = "^Picture-in-Picture$"; }
{ app_id = "qalculate-gtk"; } { app_id = "qalculate-gtk"; }
{ app_id = "org.gnome.clocks"; }
{ app_id = "com.github.stsdc.monitor"; }
{ app_id = "blueman"; } { app_id = "blueman"; }
{ app_id = "pavucontrol"; } { app_id = "pavucontrol"; }
{ app_id = "syncthingtray"; } { app_id = "syncthingtray"; }
{ title = "Syncthing Tray"; }
{ app_id = "SchildiChat"; }
{ app_id = "Element"; } { app_id = "Element"; }
{ class = "1Password"; } { class = "1Password"; }
{ app_id = "com.nextcloud.desktopclient.nextcloud"; } { app_id = "com.nextcloud.desktopclient.nextcloud"; }
{ app_id = "gnome-system-monitor"; }
{ title = "(?:Open|Save) (?:File|Folder|As)"; } { title = "(?:Open|Save) (?:File|Folder|As)"; }
{ title = "^Add$"; } { title = "^Add$"; }
{ title = "com-jgoodies-jdiskreport-JDiskReport"; } { title = "^Picture-in-Picture$"; }
{ title = "Syncthing Tray"; }
{ app_id = "vesktop"; } { app_id = "vesktop"; }
{ window_role = "pop-up"; } { window_role = "pop-up"; }
{ window_role = "bubble"; } { window_role = "bubble"; }
@ -8720,13 +8714,6 @@ Currently, I am too lazy to explain every option here, but most of it is very se
title = "^spotifytui$"; title = "^spotifytui$";
}; };
} }
# {
# command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad";
# criteria = {
# app_id="^$";
# class="^$";
# };
# }
{ {
command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad"; command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad";
@ -8746,12 +8733,13 @@ Currently, I am too lazy to explain every option here, but most of it is very se
class = "Element"; class = "Element";
}; };
} }
{ # {
command = "resize set width 60 ppt height 60 ppt, sticky enable"; # command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad";
criteria = { # criteria = {
app_id = "SchildiChat"; # app_id="^$";
}; # class="^$";
} # };
# }
]; ];
}; };
gaps = { gaps = {

View file

@ -139,28 +139,22 @@ in
titlebar = false; titlebar = false;
}; };
assigns = { assigns = {
"16:F" = [{ app_id = "firefox"; }];
"15:L" = [{ app_id = "teams-for-linux"; }]; "15:L" = [{ app_id = "teams-for-linux"; }];
}; };
floating = { floating = {
border = 1; border = 1;
criteria = [ criteria = [
{ title = "^Picture-in-Picture$"; }
{ app_id = "qalculate-gtk"; } { app_id = "qalculate-gtk"; }
{ app_id = "org.gnome.clocks"; }
{ app_id = "com.github.stsdc.monitor"; }
{ app_id = "blueman"; } { app_id = "blueman"; }
{ app_id = "pavucontrol"; } { app_id = "pavucontrol"; }
{ app_id = "syncthingtray"; } { app_id = "syncthingtray"; }
{ title = "Syncthing Tray"; }
{ app_id = "SchildiChat"; }
{ app_id = "Element"; } { app_id = "Element"; }
{ class = "1Password"; } { class = "1Password"; }
{ app_id = "com.nextcloud.desktopclient.nextcloud"; } { app_id = "com.nextcloud.desktopclient.nextcloud"; }
{ app_id = "gnome-system-monitor"; }
{ title = "(?:Open|Save) (?:File|Folder|As)"; } { title = "(?:Open|Save) (?:File|Folder|As)"; }
{ title = "^Add$"; } { title = "^Add$"; }
{ title = "com-jgoodies-jdiskreport-JDiskReport"; } { title = "^Picture-in-Picture$"; }
{ title = "Syncthing Tray"; }
{ app_id = "vesktop"; } { app_id = "vesktop"; }
{ window_role = "pop-up"; } { window_role = "pop-up"; }
{ window_role = "bubble"; } { window_role = "bubble"; }
@ -215,13 +209,6 @@ in
title = "^spotifytui$"; title = "^spotifytui$";
}; };
} }
# {
# command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad";
# criteria = {
# app_id="^$";
# class="^$";
# };
# }
{ {
command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad"; command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad";
@ -241,12 +228,13 @@ in
class = "Element"; class = "Element";
}; };
} }
{ # {
command = "resize set width 60 ppt height 60 ppt, sticky enable"; # command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad";
criteria = { # criteria = {
app_id = "SchildiChat"; # app_id="^$";
}; # class="^$";
} # };
# }
]; ];
}; };
gaps = { gaps = {