summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2017-10-08 13:33:43 +0200
committerjohannst <stoelp@eit.uni-kl.de>2017-10-08 13:33:43 +0200
commit58102debc85110c06b556e889daa40977417a005 (patch)
treef07fb32cca7caa5b1e7428df3197f1324901374d /install
parent4330b4b4813a9c13886716b92cde7aca8973d57c (diff)
downloaddotfiles-58102debc85110c06b556e889daa40977417a005.tar.gz
dotfiles-58102debc85110c06b556e889daa40977417a005.zip
Added i3wm & i3status config files with corresponding installers
Diffstat (limited to 'install')
-rwxr-xr-xinstall31
1 files changed, 31 insertions, 0 deletions
diff --git a/install b/install
index f332100..ef110cf 100755
--- a/install
+++ b/install
@@ -14,6 +14,8 @@ gToolsConfig=(
"tmux.conf:tmux:tmuxConfigInstaller"
"vimrc:vim:vimConfigInstaller"
"Xresources:xterm:xtermConfigInstaller"
+"i3config:i3:i3ConfigInstaller"
+"i3status:i3status:i3statusConfigInstaller"
)
gMagicNumber=e2718281
@@ -123,6 +125,35 @@ function vimConfigInstaller() {
function xtermConfigInstaller() {
echo "xtermConfigInstaller called"
+ return 0
+}
+
+#}}}
+#{{{ i3ConfigInstaller
+
+function i3ConfigInstaller() {
+ local i3_home=~/.i3
+ local i3_conf=$i3_home/config
+ mkdir $i3_home 2> /dev/null
+ if [ -f $i3_conf ]; then
+ return 1
+ fi
+ cp i3wm.conf $i3_conf
+ return 0
+}
+
+#}}}
+#{{{ i3statusConfigInstaller
+
+function i3statusConfigInstaller() {
+ local i3_home=~/.i3
+ local i3_status_conf=$i3_home/i3status.conf
+ mkdir $i3_home 2> /dev/null
+ if [ -f $i3_status_conf ]; then
+ return 1
+ fi
+ cp i3status.conf $i3_status_conf
+ return 0
}
#}}}