dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 049ff725f0c6b051acacf8fae2c33712b2826612
parent f329f957f893f53fd56bdb3fdd565a009b84ce65
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  4 Mar 2019 21:44:58 +0100

Use colortheme configuration for tabbed styling

Diffstat:
Mlinks/bin/colortheme | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/links/bin/colortheme b/links/bin/colortheme @@ -146,6 +146,17 @@ function set_colors { (cd ~/code/st && sudo make install) fi + if [ -f ~/code/tabbed/config.h ]; then + sed -i "s/normbgcolor \+= \".*\";/normbgcolor = \"$background\";/;\ + s/normfgcolor \+= \".*\";/normfgcolor = \"$foreground\";/;\ + s/selfgcolor \+= \".*\";/selfgcolor = \"$background\";/;\ + s/selbgcolor \+= \".*\";/selbgcolor = \"$foreground\";/;\ + s/urgbgcolor \+= \".*\";/urgbgcolor = \"$color9\";/;\ + s/urgfgcolor \+= \".*\";/urgfgcolor = \"$color0\";/"\ + ~/code/tabbed/config.h + (cd ~/code/tabbed && sudo make install) + fi + } [[ $# -lt 1 ]] && (show_help && exit 1)