From 70361efc500f32542e791be42d57bd916a6f086f Mon Sep 17 00:00:00 2001
From: Christian Colglazier <christian@cacolglazier.com>
Date: Sat, 12 Oct 2019 15:42:09 -0400
Subject: [PATCH] Moved i3 settings from desktop to shared

---
 i3/desktop.conf | 16 +---------------
 i3/shared.conf  | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/i3/desktop.conf b/i3/desktop.conf
index 847199a..62ee678 100644
--- a/i3/desktop.conf
+++ b/i3/desktop.conf
@@ -38,7 +38,7 @@ for_window [class="Wine" title="Blizzard Battle.net"] move to workspace $ws4
 for_window [class="Lutris"] move to workspace $ws4
 
 # Starting DaVinci Resolve
-for_window [class="resolve"] move to workspace $ws1; gaps inner current set 0; gaps outer current set 0
+for_window [class="resolve"] move to workspace $ws1
 for_window [class="resolve"] exec --no-startup-id cat ~/.config/g13/resolve.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/resolve.lpbm > /tmp/g13-0
 bindsym $mod+/ gaps inner current set 0; gaps outer current set 0
 
@@ -47,20 +47,6 @@ for_window [class="REAPER"] move to workspace $ws3
 
 # Steam
 for_window [class="^Steam$"] move to workspace $ws4
-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
-
-# Jetbrains
-for_window [class="^com-intellij-updater-Runner$" title="^Update$"] floating enable
-for_window [instance="^sun-awt-X11-XDialogPeer$" title="^Complete Installation$"] floating enable
 
 # The side buttons move the desktop around
 bindsym --whole-window button9 exec python3 ~/.config/scripts/i3-mouse.py back
diff --git a/i3/shared.conf b/i3/shared.conf
index a11cc73..9836edc 100644
--- a/i3/shared.conf
+++ b/i3/shared.conf
@@ -177,3 +177,21 @@ bindsym $mod+Shift+s exec scrot -b -d 5 '%Y:%m:%d:%H:%M:%S.png' -e 'mv $f ~/Desk
 bindsym $mod+n exec nautilus
 bindsym $mod+m exec nautilus ~/Videos
 
+# Steam
+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
+
+# Jetbrains
+for_window [class="^com-intellij-updater-Runner$" title="^Update$"] floating enable
+for_window [instance="^sun-awt-X11-XDialogPeer$" title="^Complete Installation$"] floating enable
+
+# DaVinci Resolve
+for_window [class="resolve"] gaps inner current set 0; gaps outer current set 0
\ No newline at end of file