From 15b08779e3b2a61200a263b81e999fb6d053887f Mon Sep 17 00:00:00 2001 From: lanxu Date: Sun, 23 Nov 2025 10:02:50 +0200 Subject: [PATCH] update assignment --- .config/sway/config | 76 +++++++++++++++++++++++++++++---------------- 1 file changed, 50 insertions(+), 26 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 659e71e..fee5a89 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -243,21 +243,39 @@ bindsym $mod+Shift+0 move container to workspace $ws10 # Assignments +## Coding +assign [class="^code-oss$"] → $ws1 + +## Chat +assign [app_id="^Element$"] → $ws2 +assign [class="^Element$"] → $ws2 +assign [app_id="info.mumble.Mumble"] → $ws2 + +## Net assign [app_id="^firefox$"] → $ws3 assign [app_id="^librewolf$"] → $ws3 -assign [app_id="^cantata$"] → $ws10 assign [app_id="^org.keepassxc.KeePassXC$" title="^Avaa tietokanta"] → $ws3 -assign [app_id="^org.keepassxc.KeePassXC$" title="(?!Avaa tietokanta)"] → $ws9 -assign [app_id="^pavucontrol$"] → $ws10 -assign [app_id="^blueman-manager$"] → $ws10 -assign [app_id="^lutris$"] → $ws6 -assign [app_id="com.nextcloud.desktopclient.nextcloud"] → $ws10 -assign [app_id="^Element$"] → $ws2 + +## GFX assign [class="^krita$"] → $ws4 assign [class="^Blender$"] → $ws4 +assign [app_id="^blender$"] → $ws4 assign [class="^Gimp$"] → $ws4 + +## Gaming / Steam + +## Gaming / Other +assign [app_id="^net.lutris.Lutris$"] → $ws6 + +## Keychain +assign [app_id="^org.keepassxc.KeePassXC$" title="(?!Avaa tietokanta)"] → $ws9 + +## Services / Bluetooth, Audio, Nextcloud +assign [app_id=".*pavucontrol$"] → $ws10 +assign [app_id="^blueman-manager$"] → $ws10 +assign [app_id="^blueman-applet$"] → $ws10 +assign [app_id="com.nextcloud.desktopclient.nextcloud"] → $ws10 assign [class="^Nextcloud$"] → $ws10 -assign [class="^Element$"] → $ws2 # Modifiers for_window [app_id="telegramdesktop" title="(.*)Telegram(.*)"] floating enable, move scratchpad @@ -276,34 +294,40 @@ for_window [class="vlc"] floating enable for_window [class="cantata"] floating disable for_window [class="boincmgr"] floating disable -# Games +# Games / General +for_window [class="Wine"] floating enable +for_window [class="Proton"] floating enable +# Games / Specific for_window [class="kfgame.exe"] floating enable for_window [class="noita.exe"] floating enable for_window [class="^galaxyclient.exe$"] floating enable for_window [class="epicgameslauncher.exe"] floating enable for_window [class="Origin"] floating enable -for_window [class="^steam_app"] floating enable -for_window [class="Wine"] floating enable -for_window [class="Proton"] floating enable for_window [class="Melvor Idle"] floating enable +for_window [title="SRHK"] floating enable for_window [app_id="AlienIsolation"] floating enable for_window [app_id="FeralLinuxMessage"] floating enable -for_window [title="SRHK"] floating enable - +for_window [class="^Vampire_Survivors$" title="^Vampire Survivors$"] floating enable # Steam # https://github.com/ValveSoftware/steam-for-linux/issues/1040 -for_window [class="^Steam$" title="^Friends$"] floating enable -for_window [class="^Steam$" title="Steam - News"] floating enable -for_window [class="^Steam$" title=".* - Chat"] floating enable -for_window [class="^Steam$" title="^Settings$"] floating enable -for_window [class="^Steam$" title=".* - event started"] floating enable -for_window [class="^Steam$" title=".* CD key"] floating enable -for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable -for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable -for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable -for_window [title="^Steam Keyboard$"] floating enable -for_window [class="^Steam$"] move container to workspace $ws5 -for_window [title="^Friends List$"] move container to workspace $ws5, floating enable, resize set width 400px +#for_window [class="^steam$" title="^Friends List$"] floating enable +#for_window [class="^steam$" title="Steam - News"] floating enable +#for_window [class="^steam$" title=".* - Chat"] floating enable +#for_window [class="^steam$" title="^Settings$"] floating enable +#for_window [class="^steam$" title=".* - event started"] floating enable +#for_window [class="^steam$" title=".* CD key"] floating enable +#for_window [class="^steam$" title="^Steam - Self Updater$"] floating enable +#for_window [class="^steam$" title="^Screenshot Uploader$"] floating enable +#for_window [class="^steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable +#for_window [title="^steam Keyboard$"] floating enable +#for_window [class="^steam$"] move container to workspace $ws5 +#for_window [class="^steam$"] move container to workspace $ws5, floating enable +#for_window [class="^Steam$"] move container to workspace $ws5, floating enable +for_window [class="^steam_app"] move container to workspace $ws5, floating enable +for_window [class="^steam"] move container to workspace $ws5, floating enable +for_window [class="^steam$" title="^Steam$"] move container to workspace $ws5, floating disable +for_window [class="^steam$" title="^Friends List$"] move container to workspace $ws5, floating disable, resize set width 500px +for_window [class="^steam$" title="^Kaverilista$"] move container to workspace $ws5, floating disable, resize set width 500px mouse_warping none