From ba480949ccd5f00f9cfdcae15b67ffb895965833 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 25 Feb 2018 21:27:13 +0100 Subject: moved to i3-gaps and i3blocks --- install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'install') 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 @@ -179,6 +180,21 @@ function i3statusConfigInstaller() { return 0 } +#}}} +#{{{ 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 -- cgit v1.2.3