aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2024-02-13 13:10:59 +0100
committerGitHub <noreply@github.com>2024-02-13 13:10:59 +0100
commiteb1cd58e3c5b795659556b4ead3673b17c8a9fb4 (patch)
treed4f384de6f1c92e55636f0ee0212f9c55e80e8e0
parente77cbdbe0e885f0b1daba3a0b6bae793cc2b1ba3 (diff)
downloadrofi-pass-eb1cd58e3c5b795659556b4ead3673b17c8a9fb4.tar.gz
always set help_color
fixes #226
-rwxr-xr-xrofi-pass8
1 files changed, 2 insertions, 6 deletions
diff --git a/rofi-pass b/rofi-pass
index 935b12d..38f1a93 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -33,7 +33,7 @@ type_delay=12
default_do='menu' # menu, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
auto_enter='false'
notify='false'
-help_color=""
+help_color="#4872FF"
clip=primary
clip_clear=45
default_user="${ROFI_PASS_DEFAULT_USER-$(whoami)}"
@@ -931,11 +931,7 @@ main () {
fi
# set help color
- if [[ $help_color == "" ]]; then
- help_color_attribute=""
- else
- help_color_attribute=" color='$help_color'"
- fi
+ help_color_attribute=" color='$help_color'"
# check for BROWSER variable, use xdg-open as fallback
if [[ -z $BROWSER ]]; then