From 5ea471d1a71ed752d820c3e1278305052ab5bcc1 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Tue, 8 Oct 2019 15:09:26 +0200 Subject: [PATCH] forgot to add this utility --- .local/bin/askpass | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .local/bin/askpass 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/://)"