From 8eee1c45bef74aa6094f463f9888ac653958b3dc Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Mon, 30 Mar 2015 10:25:12 +0200 Subject: Moving back to stow for management reasons: dotfiles.sh misbehaving on freebsd --- config/herbstluftwm/theme.sh | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 config/herbstluftwm/theme.sh (limited to 'config/herbstluftwm/theme.sh') diff --git a/config/herbstluftwm/theme.sh b/config/herbstluftwm/theme.sh deleted file mode 100644 index 34e22a7..0000000 --- a/config/herbstluftwm/theme.sh +++ /dev/null @@ -1,33 +0,0 @@ -# Get color from ~/.Xresources -get_x_color() { - xresources=$(cat ~/.Xresources) - color=$(echo $xresources | sed "s/.*\*color$1: \(#[0-9A-Fa-f]*\).*/\1/") - echo $color -} - -# Add alpha channel to a hexadecimal color -add_alpha_channel(){ - echo "$1" | \ - sed "s/.*#\([0-9a-fA-F]*\).*/#ff\1/" -} - -# Wallpaper -wallpaper="$HOME/.config/herbstluftwm/poligons.png" - -# Padding -window_p=20 - -# Panel -panel_h=24 -font="-*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*" -font_sec="-*-stlarch-medium-*-*-*-10-*-*-*-*-*-*-*" - -# Colors -color_fg=$(get_x_color 15) -color_accent=$(get_x_color 5) -color_bg=$(get_x_color 0) - -# Alpha Colors for use with bar -acolor_fg=$(add_alpha_channel $color_fg) -acolor_accent=$(add_alpha_channel $color_accent) -acolor_bg=$(add_alpha_channel $color_bg) -- cgit v1.2.3