From fa2d74b51be70eb5d7dc24b909e0d7370d316457 Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 5 Mar 2018 21:53:20 +0100 Subject: Added termite config files + install handler --- install | 19 +++++++++++++++++++ install.config | 1 + termite | 11 +++++++++++ 3 files changed, 31 insertions(+) create mode 100644 termite diff --git a/install b/install index 935b630..d3ce3aa 100755 --- a/install +++ b/install @@ -17,6 +17,7 @@ gToolsConfig=( "i3config:i3:i3ConfigInstaller" "i3status:i3status:i3statusConfigInstaller" "i3blocks:i3blocks:i3blocksConfigInstaller" +"termite:termite:termiteConfigInstaller" ) gMagicNumber=e2718281 @@ -197,6 +198,24 @@ function i3blocksConfigInstaller() { return 0 } +#}}} +#{{{ termiteConfigInstaller + +function termiteConfigInstaller() { + local tm_dir=~/.config/termite + local tm_conf=$tm_dir/config + [[ ! -d $tm_dir ]] && mkdir -p $tm_dir + touch $tm_conf + grep $gMagicNumber $tm_conf > /dev/null 2>&1 + if [[ $? = 0 ]]; then + return 1 + fi + echo -e "\n# $gMagicNumber - Auto generated, do not delete or modify!" >> $tm_conf + echo -e "$(cat termite)" >> $tm_conf + + return 0 +} + #}}} #{{{ Installer Main Loop diff --git a/install.config b/install.config index 42b8c9c..c337212 100644 --- a/install.config +++ b/install.config @@ -14,3 +14,4 @@ n - Xresources n - i3config n - i3status n - i3blocks +n - termite diff --git a/termite b/termite new file mode 100644 index 0000000..669bf58 --- /dev/null +++ b/termite @@ -0,0 +1,11 @@ +# dotfiles -- termite +# author: johannst + +[options] +font = xos4 Terminus 12 +#font = xos4 Terminus 12px + +[colors] +foreground = #ffffff +background = #000000 +#background = rgba(63, 63, 63, 0.8) -- cgit v1.2.3