nano $HOME/.local/bindmenupass
-------------------------------------------
#!/bin/sh
# This script is the SUDO_ASKPASS variable, meaning that it will be used as a
# password prompt if needed.
rofi -dmenu \
-password \
-no-fixed-num-lines \
-p "$(printf "$1" | sed s/://)"
-------------------------------------------
nano $HOME/.bashrc
PATH="$HOME/.local/bin:$PATH"
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
------------------------------------------
using dmenu
dmenu -p "$1" <&- && echo
-P if u have password patch
Comments
Post a Comment