summaryrefslogtreecommitdiff
path: root/bin/guiscripts
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-18 22:32:25 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-18 22:33:18 +0200
commit3c5941df55d843dacf6378317747ed59fe249a5d (patch)
tree258d060be04d2627062992dc07314cb2c17f0308 /bin/guiscripts
parent76b94ef4b1c25fb5511e33e4d6632aa8c88a0e4a (diff)
added mpass to menuscripts
Diffstat (limited to 'bin/guiscripts')
-rwxr-xr-xbin/guiscripts/mpass19
1 files changed, 0 insertions, 19 deletions
diff --git a/bin/guiscripts/mpass b/bin/guiscripts/mpass
deleted file mode 100755
index 43f6f09..0000000
--- a/bin/guiscripts/mpass
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env sh
-store="$HOME/.password-store"
-lscmd="ls --group-directories-first"
-if [ "$MENUCMD" = "tofi" ]
-then
- menucmd="tofi --prompt pass:"
-elif [ "$MENUCMD" = "dmenu" ]
-then
- menucmd="dmenu -l 4 -g 2 -x -i -p pass:"
-else
- menucmd="fzf"
-fi
-while [ -d "${store}/${file}" ]
-do
- choice="$($lscmd "${store}/${file}" | sed 's/\.gpg$//'| $menucmd)"
- [ "$choice" ] || break
- file="${file}/${choice}"
-done
-pass show -c "${file}"