From b85919af9bcab095ca460e6912183912a836fa79 Mon Sep 17 00:00:00 2001 From: Swarsel Date: Thu, 5 Dec 2024 02:30:07 +0100 Subject: [PATCH] chore: clean up sway config --- SwarselSystems.org | 30 +++++++++--------------------- profiles/common/home/sway.nix | 30 +++++++++--------------------- 2 files changed, 18 insertions(+), 42 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index 80fb540..a17cd43 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -8644,28 +8644,22 @@ Currently, I am too lazy to explain every option here, but most of it is very se titlebar = false; }; assigns = { - "16:F" = [{ app_id = "firefox"; }]; "15:L" = [{ app_id = "teams-for-linux"; }]; }; floating = { border = 1; criteria = [ - { title = "^Picture-in-Picture$"; } { app_id = "qalculate-gtk"; } - { app_id = "org.gnome.clocks"; } - { app_id = "com.github.stsdc.monitor"; } { app_id = "blueman"; } { app_id = "pavucontrol"; } { app_id = "syncthingtray"; } - { title = "Syncthing Tray"; } - { app_id = "SchildiChat"; } { app_id = "Element"; } { class = "1Password"; } { app_id = "com.nextcloud.desktopclient.nextcloud"; } - { app_id = "gnome-system-monitor"; } { title = "(?:Open|Save) (?:File|Folder|As)"; } { title = "^Add$"; } - { title = "com-jgoodies-jdiskreport-JDiskReport"; } + { title = "^Picture-in-Picture$"; } + { title = "Syncthing Tray"; } { app_id = "vesktop"; } { window_role = "pop-up"; } { 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$"; }; } - # { - # 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"; @@ -8746,12 +8733,13 @@ Currently, I am too lazy to explain every option here, but most of it is very se class = "Element"; }; } - { - command = "resize set width 60 ppt height 60 ppt, sticky enable"; - criteria = { - app_id = "SchildiChat"; - }; - } + # { + # command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad"; + # criteria = { + # app_id="^$"; + # class="^$"; + # }; + # } ]; }; gaps = { diff --git a/profiles/common/home/sway.nix b/profiles/common/home/sway.nix index 04683c7..4cec43d 100644 --- a/profiles/common/home/sway.nix +++ b/profiles/common/home/sway.nix @@ -139,28 +139,22 @@ in titlebar = false; }; assigns = { - "16:F" = [{ app_id = "firefox"; }]; "15:L" = [{ app_id = "teams-for-linux"; }]; }; floating = { border = 1; criteria = [ - { title = "^Picture-in-Picture$"; } { app_id = "qalculate-gtk"; } - { app_id = "org.gnome.clocks"; } - { app_id = "com.github.stsdc.monitor"; } { app_id = "blueman"; } { app_id = "pavucontrol"; } { app_id = "syncthingtray"; } - { title = "Syncthing Tray"; } - { app_id = "SchildiChat"; } { app_id = "Element"; } { class = "1Password"; } { app_id = "com.nextcloud.desktopclient.nextcloud"; } - { app_id = "gnome-system-monitor"; } { title = "(?:Open|Save) (?:File|Folder|As)"; } { title = "^Add$"; } - { title = "com-jgoodies-jdiskreport-JDiskReport"; } + { title = "^Picture-in-Picture$"; } + { title = "Syncthing Tray"; } { app_id = "vesktop"; } { window_role = "pop-up"; } { window_role = "bubble"; } @@ -215,13 +209,6 @@ in 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"; @@ -241,12 +228,13 @@ in class = "Element"; }; } - { - command = "resize set width 60 ppt height 60 ppt, sticky enable"; - criteria = { - app_id = "SchildiChat"; - }; - } + # { + # command = "resize set width 60 ppt height 60 ppt, sticky enable, move container to scratchpad"; + # criteria = { + # app_id="^$"; + # class="^$"; + # }; + # } ]; }; gaps = {