summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2018-02-25 21:27:13 +0100
committerjohannst <stoelp@eit.uni-kl.de>2018-02-25 21:27:13 +0100
commitba480949ccd5f00f9cfdcae15b67ffb895965833 (patch)
treedf70100706b3b2726e3b04074ed0430378af3008 /install
parent32cff6de87dbc18a10c73f5514ae61181c120756 (diff)
downloaddotfiles-ba480949ccd5f00f9cfdcae15b67ffb895965833.tar.gz
dotfiles-ba480949ccd5f00f9cfdcae15b67ffb895965833.zip
moved to i3-gaps and i3blocks
Diffstat (limited to 'install')
-rwxr-xr-xinstall16
1 files changed, 16 insertions, 0 deletions
diff --git a/install b/install
index d3e5207..159b352 100755
--- a/install
+++ b/install
@@ -16,6 +16,7 @@ gToolsConfig=(
"Xresources:xterm:xtermConfigInstaller"
"i3config:i3:i3ConfigInstaller"
"i3status:i3status:i3statusConfigInstaller"
+"i3blocks:i3blocks:i3blocksConfigInstaller"
)
gMagicNumber=e2718281
@@ -180,6 +181,21 @@ function i3statusConfigInstaller() {
}
#}}}
+#{{{ i3blocksConfigInstaller
+
+function i3blocksConfigInstaller() {
+ local i3_home=~/.i3
+ local i3_blocks_conf=$i3_home/i3blocks.conf
+ mkdir $i3_home 2> /dev/null
+ if [ -f $i3_blocks_conf ]; then
+ return 1
+ fi
+ cp i3blocks.conf $i3_blocks_conf
+
+ return 0
+}
+
+#}}}
#{{{ Installer Main Loop