diff --git a/.config/sway/autostart b/.config/sway/autostart index a1bc5f0..5089517 100644 --- a/.config/sway/autostart +++ b/.config/sway/autostart @@ -1,11 +1,18 @@ -for_window [app_id="evolution"] move to workspace 9 -for_window [app_id="org.kde.quassel"] move to workspace 9 -for_window [class="Element"] move to workspace 9 -for_window [class="Slack"] move to workspace 9 -for_window [app_id="telegramdesktop"] move to workspace 9 +# Default layout +for_window [workspace=$chat_workspace] layout tabbed +for_window [app_id="evolution"] move to workspace $chat_workspace exec evolution + +for_window [app_id="org.kde.quassel"] move to workspace $chat_workspace +for_window [app_id="quasselclient"] move to workspace $chat_workspace exec quasselclient + +for_window [class="Element"] move to workspace $chat_workspace exec element-desktop -exec /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=slack --file-forwarding com.slack.Slack + +for_window [class="Slack"] move to workspace $chat_workspace +exec slack + +for_window [app_id="telegramdesktop"] move to workspace $chat_workspace exec telegram-desktop diff --git a/.config/sway/blue b/.config/sway/blue index 3a728e8..13548a0 100644 --- a/.config/sway/blue +++ b/.config/sway/blue @@ -2,6 +2,7 @@ set $left_disp "Dell Inc. DELL U2719D 3PFNP83" set $right_disp "Dell Inc. DELL U2719D JNFNP83" +set $chat_workspace 10 output $left_disp pos 0 0 output $right_disp pos 2560 0 diff --git a/.config/sway/config b/.config/sway/config index 9682a75..50a844f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -35,6 +35,9 @@ set $menu rofi -modi drun -show drun -show-icons -normal-window # Default wallpaper (more resolutions are available in __DATADIR__/backgrounds/sway/) output * bg $bg tile +# Default autostart workspace +set $chat_workspace 9 + # Include custom config for current computer include `hostname`