From 8a6823faa7bbe04fa73003dcaceeb9e56d8b92bf Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Thu, 21 Dec 2023 11:03:16 +0200 Subject: [PATCH] Fixing auto start --- config/sway/config.d/autostart | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/config/sway/config.d/autostart b/config/sway/config.d/autostart index 861a224..c2b83af 100644 --- a/config/sway/config.d/autostart +++ b/config/sway/config.d/autostart @@ -1,4 +1,30 @@ +# Assign workspaces to monitors +workspace 1 output DP-3 +workspace 2 output DP-3 +workspace 3 output HDMI-A-1 +workspace 4 output HDMI-A-1 + +# Run in bg/tray exec keepassxc exec nextcloud -exec telegram-desktop && swaymsg 'assign [class=Telegram] workspace 2 exec tmux new -ds profanity profanity + +workspace 1 +exec alacritty + +workspace 2 +exec /usr/bin/steam + +workspace 3 +exec discord +exec firefox-bin + +workspace 4 +exec telegram-desktop + +# Needs to be forced due to launcher loading +assign [title="Steam"] 2 +assign [title="Discord"] 3 + +# Focus back to main workspace +workspace 1