parse for "," instead of ", ". Thanks to #28. Should fix #27

This commit is contained in:
Rasmus Steinke 2016-02-23 02:00:41 +01:00
parent 09c48d3001
commit 847c0b689e

View File

@ -500,7 +500,7 @@ fi
# set help color
if [[ $help_color == "" ]]; then
help_color=$(rofi -dump-xresources | grep 'rofi.color.normal' | awk -F ', ' '{ print $2 }')
help_color=$(rofi -dump-xresources | grep 'rofi.color.normal' | awk -F ',' '/,/{gsub(/ /, "", $2); print $2}')
help_separator_color=${help_color}
fi