diff options
| author | 2015-03-30 10:25:12 +0200 | |
|---|---|---|
| committer | 2015-03-30 10:25:12 +0200 | |
| commit | 8eee1c45bef74aa6094f463f9888ac653958b3dc (patch) | |
| tree | 0e2a066fd4da4afcf08f0bef348511b5c9ac48f7 /config/herbstluftwm/theme.sh | |
| parent | c7ebce541a9914d4e5a3b52e838e2ac66dd139a0 (diff) | |
| download | dotfiles-8eee1c45bef74aa6094f463f9888ac653958b3dc.tar.gz dotfiles-8eee1c45bef74aa6094f463f9888ac653958b3dc.tar.bz2 dotfiles-8eee1c45bef74aa6094f463f9888ac653958b3dc.zip | |
Moving back to stow for management
reasons: dotfiles.sh misbehaving on freebsd
Diffstat (limited to 'config/herbstluftwm/theme.sh')
| -rw-r--r-- | config/herbstluftwm/theme.sh | 33 |
1 files changed, 0 insertions, 33 deletions
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 @@ | |||
| 1 | # Get color from ~/.Xresources | ||
| 2 | get_x_color() { | ||
| 3 | xresources=$(cat ~/.Xresources) | ||
| 4 | color=$(echo $xresources | sed "s/.*\*color$1: \(#[0-9A-Fa-f]*\).*/\1/") | ||
| 5 | echo $color | ||
| 6 | } | ||
| 7 | |||
| 8 | # Add alpha channel to a hexadecimal color | ||
| 9 | add_alpha_channel(){ | ||
| 10 | echo "$1" | \ | ||
| 11 | sed "s/.*#\([0-9a-fA-F]*\).*/#ff\1/" | ||
| 12 | } | ||
| 13 | |||
| 14 | # Wallpaper | ||
| 15 | wallpaper="$HOME/.config/herbstluftwm/poligons.png" | ||
| 16 | |||
| 17 | # Padding | ||
| 18 | window_p=20 | ||
| 19 | |||
| 20 | # Panel | ||
| 21 | panel_h=24 | ||
| 22 | font="-*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*" | ||
| 23 | font_sec="-*-stlarch-medium-*-*-*-10-*-*-*-*-*-*-*" | ||
| 24 | |||
| 25 | # Colors | ||
| 26 | color_fg=$(get_x_color 15) | ||
| 27 | color_accent=$(get_x_color 5) | ||
| 28 | color_bg=$(get_x_color 0) | ||
| 29 | |||
| 30 | # Alpha Colors for use with bar | ||
| 31 | acolor_fg=$(add_alpha_channel $color_fg) | ||
| 32 | acolor_accent=$(add_alpha_channel $color_accent) | ||
| 33 | acolor_bg=$(add_alpha_channel $color_bg) | ||
