diff options
author | johannst <stoelp@eit.uni-kl.de> | 2018-02-25 21:27:13 +0100 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2018-02-25 21:27:13 +0100 |
commit | ba480949ccd5f00f9cfdcae15b67ffb895965833 (patch) | |
tree | df70100706b3b2726e3b04074ed0430378af3008 /install | |
parent | 32cff6de87dbc18a10c73f5514ae61181c120756 (diff) | |
download | dotfiles-ba480949ccd5f00f9cfdcae15b67ffb895965833.tar.gz dotfiles-ba480949ccd5f00f9cfdcae15b67ffb895965833.zip |
moved to i3-gaps and i3blocks
Diffstat (limited to 'install')
-rwxr-xr-x | install | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |