herbstluftwm: panel: add proper color names
This commit is contained in:
parent
2cbdc3112c
commit
79c9582b13
1 changed files with 13 additions and 0 deletions
|
|
@ -20,6 +20,19 @@ else
|
|||
font="-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*"
|
||||
iconpath=${HOME}/.config/herbstluftwm/icons
|
||||
fi
|
||||
|
||||
# Colors
|
||||
xrdb=( $(xrdb -query | grep -P "color[0-9]*:" | sort | cut -f 2-) )
|
||||
|
||||
# define an array with proper colornames.
|
||||
declare -A color
|
||||
index=0
|
||||
|
||||
for name in black brightgreen brightyellow brightblue brightmagenta brightcyan brightwhite red green yellow blue magenta cyan white grey brightred; do
|
||||
color[${name}]=${xrdb[$index]}
|
||||
((index++))
|
||||
done
|
||||
|
||||
bgcolor=$(hc get frame_border_normal_color)
|
||||
selbg=$(hc get window_border_active_color)
|
||||
selfg='#101010'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue