Fixup the autostart programs

This commit is contained in:
Arti Zirk 2021-11-04 12:40:22 +02:00
parent 8a07e59438
commit dfdd735fa0
3 changed files with 17 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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`