Add rofi password prompt script

This commit is contained in:
Riyyi
2021-02-24 23:48:04 +01:00
parent 530082843e
commit f64dccd04b
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -62,6 +62,9 @@ if [ "$HIDPI" = true ]; then
fi fi
export QT_QPA_PLATFORMTHEME="qt5ct" export QT_QPA_PLATFORMTHEME="qt5ct"
# Sudo
export SUDO_ASKPASS="$HOME/.scripts/rofipass.sh"
# Terminal # Terminal
export TERMINAL="urxvt" export TERMINAL="urxvt"
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
# Ask password script. SUDO_ASKPASS is set to this script.
rofi -password -no-fixed-num-lines -dmenu -p "Password"