aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Malison <IvanMalison@gmail.com>2018-01-18 19:41:59 -0800
committerIvan Malison <IvanMalison@gmail.com>2018-01-18 19:41:59 -0800
commit3682acb28898ae023ec4cc9c1e9af86206477b4b (patch)
tree6996826657b5204b21f2fa3446c0580bd0f0b2c4
parent2df3775e5527536798e76a491d46097bca710687 (diff)
downloadrofi-pass-3682acb28898ae023ec4cc9c1e9af86206477b4b.tar.gz
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