aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm
diff options
context:
space:
mode:
Diffstat (limited to '.config/herbstluftwm')
-rwxr-xr-x.config/herbstluftwm/autostart22
1 files changed, 17 insertions, 5 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index cb59263..0fb9ea7 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -2,15 +2,27 @@
2 2
3# this is a simple config for herbstluftwm 3# this is a simple config for herbstluftwm
4 4
5#get colors from .Xresources
6get_xcolor(){
7 xresources=$(\
8 cat ~/.Xresources\
9 )
10 color=$(\
11 echo $xresources | \
12 sed "s/.*\*color$1: \(#[0-9A-Fa-f]*\).*/\1/"\
13 )
14 echo $color
15}
16
5#Wallpaper 17#Wallpaper
6WALLPAPER=/home/tom/Pictures/ThDLxEW.jpg 18WALLPAPER=/home/tom/Pictures/ThDLxEW.jpg
7 19
8#Numix color palette 20#Numix color palette
9LIGHT='#f9f9f9' 21LIGHT=$(get_xcolor 15)
10LLIGHT='#dedede' 22LLIGHT=$(get_xcolor 7)
11ACCENT='#d64937' 23ACCENT=$(get_xcolor 9)
12LDARK='#333333' 24LDARK=$(get_xcolor 8)
13DARK='#2d2d2d' 25DARK=$(get_xcolor 0)
14 26
15#Panel 27#Panel
16PANEL_HEIGHT=24 28PANEL_HEIGHT=24