diff --git a/.local/bin/askpass b/.local/bin/askpass new file mode 100755 index 0000000..a3a1fe3 --- /dev/null +++ b/.local/bin/askpass @@ -0,0 +1,5 @@ +#!/usr/bin/fish + +# Utility to ask password, to be used with dmount and dumount +# inspired from https://github.com/ODEX-TOS/tools/blob/master/rofi/askpass +rofi -dmenu -font 'DejaVu Sans 10' -password -no-fixed-num-lines -p "(printf "$1" | sed s/://)"