diff options
-rw-r--r-- | .bashrc | 1 | ||||
-rwxr-xr-x | .local/bin/tofi-askpass | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -40,6 +40,7 @@ set -o ignoreeof export PATH="$PATH:$HOME/.scripts" # Adds `~/.local/bin` to $PATH export PATH="$PATH:$HOME/.local/bin" +export SUDO_ASKPASS="$HOME/.local/bin/tofi-askpass" #infinite history diff --git a/.local/bin/tofi-askpass b/.local/bin/tofi-askpass new file mode 100755 index 0000000..146ba9b --- /dev/null +++ b/.local/bin/tofi-askpass @@ -0,0 +1,2 @@ +#!/bin/sh +tofi --prompt-text "Password: " --hide-input true --require-match false < /dev/null |