diff --git a/rofi-pass b/rofi-pass index 90e5ff5..7c68808 100755 --- a/rofi-pass +++ b/rofi-pass @@ -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