aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2018-01-19 19:49:03 +0100
committerGitHub <noreply@github.com>2018-01-19 19:49:03 +0100
commitf03ed2464c382624b473de447401ecd80974f3cd (patch)
tree6996826657b5204b21f2fa3446c0580bd0f0b2c4
parent2df3775e5527536798e76a491d46097bca710687 (diff)
parent3682acb28898ae023ec4cc9c1e9af86206477b4b (diff)
downloadrofi-pass-f03ed2464c382624b473de447401ecd80974f3cd.tar.gz
Merge pull request #112 from IvanMalison/custom_default_user
Add ROFI_PASS_DEFAULT_USER environment variable
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index 9a60c61..97e6f2e 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -23,7 +23,7 @@ auto_enter='false'
notify='false'
help_color=""
clip=primary
-default_user="$(whoami)"
+default_user="${ROFI_PASS_DEFAULT_USER-$(whoami)}"
default_user2=john_doe
password_length=12