dont parse twice

This commit is contained in:
Rasmus Steinke 2016-02-23 01:55:23 +01:00
parent de700a7255
commit 09c48d3001

View File

@ -501,7 +501,7 @@ fi
# set help color # set help color
if [[ $help_color == "" ]]; then 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 ', ' '{ print $2 }')
help_separator_color=$(rofi -dump-xresources | grep 'rofi.color.normal' | awk -F ', ' '{ print $2 }') help_separator_color=${help_color}
fi fi
# check for BROWSER variable, use xdg-open as fallback # check for BROWSER variable, use xdg-open as fallback