From 847c0b689e3fb8c02e278f745aa623b086b68cdd Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Tue, 23 Feb 2016 02:00:41 +0100 Subject: [PATCH] parse for "," instead of ", ". Thanks to #28. Should fix #27 --- rofi-pass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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