From 1aa1fd18f5d85a6a30bc2dec3629b788a359cb84 Mon Sep 17 00:00:00 2001
From: Christian Colglazier <christian@cacolglazier.com>
Date: Thu, 1 Sep 2022 10:46:23 -0400
Subject: [PATCH] Signal startup

---
 i3/framework.conf | 1 +
 i3/shared.conf    | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/i3/framework.conf b/i3/framework.conf
index 4d401b3..584e4e5 100644
--- a/i3/framework.conf
+++ b/i3/framework.conf
@@ -43,6 +43,7 @@ for_window [class="com.bitwig.BitwigStudio"] move to workspace $wsBitwig
 exec mako
 
 # Startup Programs
+exec "swaymsg 'workspace $wsSignal; exec flatpak run org.signal.Signal'"
 exec "swaymsg 'workspace $ws2; exec alacritty'"
 exec "swaymsg 'workspace $ws1; exec firefox'"
 
diff --git a/i3/shared.conf b/i3/shared.conf
index c732157..1581aaf 100644
--- a/i3/shared.conf
+++ b/i3/shared.conf
@@ -98,6 +98,7 @@ set $wsResolve "11"
 set $wsReaper  "12"
 set $wsBitwig  "13"
 set $wsGames   "14"
+set $wsSignal  "15"
 
 # switch to workspace
 bindsym $mod+1 workspace $ws1
@@ -232,5 +233,8 @@ for_window [class="^Bitwig Studio$" title="^Bitwig Studio"] exec python ~/.confi
 for_window [class="^Bitwig Studio$" title="^Bitwig Studio"] exec sh ~/.config/scripts/audio/aquamix.sh -d
 for_window [class="^Bitwig Studio$" title="^Bitwig Studio"] exec systemctl --user restart i3wm-close-window.service
 
+#Other
+for_window [class="Signal"] move to workspace $wsSignal
+
 bindsym $mod+F5 gaps inner current set 0; gaps outer current set 0
 bindsym $mod+F6 gaps inner current set $inner; gaps outer current set $outer
\ No newline at end of file