Tom Flucke 7 лет назад
Родитель
Сommit
fa31979d5c
3 измененных файлов с 11 добавлено и 3 удалено
  1. 5 1
      .i3/00_variables.config
  2. 2 2
      .i3/07_i3_controls.config
  3. 4 0
      .i3/generatei3Config.sh

+ 5 - 1
.i3/00_variables.config

@@ -44,6 +44,10 @@ force_focus_wrapping		no
 # Disable mouse following screen focus
 mouse_warping			none
 
-#Font
+# Font
 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
+
+# Owncloud Sync
+exec owncloud &
+
 ##End Definitions

+ 2 - 2
.i3/07_i3_controls.config

@@ -13,8 +13,8 @@ bindsym $mod+u			layout default
 ##End Layouts
 
 ##Begin i3 Controls
-bindsym $mod+Shift+c		exec "bash ~/.i3/generatei3Config.sh"; reload
-bindsym $mod+Shift+r		exec "bash ~/.i3/generatei3Config.sh"; restart
+bindsym $mod+Shift+c		exec "bash ~/.i3/generatei3Config.sh reload"
+bindsym $mod+Shift+r		exec "bash ~/.i3/generatei3Config.sh restart"
 bindsym $mod+Shift+e		exit
 ##End i3 Controls
 

+ 4 - 0
.i3/generatei3Config.sh

@@ -1,3 +1,7 @@
 #!/bin/sh
 
 cat $(ls $HOME/.i3/*.config | sort) > $HOME/.i3/config
+
+if [ ! -z "$1" ]; then
+    i3-msg "$1"
+fi