From 58102debc85110c06b556e889daa40977417a005 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 8 Oct 2017 13:33:43 +0200 Subject: Added i3wm & i3status config files with corresponding installers --- install | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'install') 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 } #}}} -- cgit v1.2.3