From b0dc1eeb37f9c75b82ee1f110338508e1cafecf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 9 Mar 2020 13:26:21 +0100 Subject: i3: get password from store without terminal --- config/i3/scripts/pass | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 config/i3/scripts/pass (limited to 'config/i3/scripts/pass') diff --git a/config/i3/scripts/pass b/config/i3/scripts/pass new file mode 100755 index 0000000..aa2ad96 --- /dev/null +++ b/config/i3/scripts/pass @@ -0,0 +1,6 @@ +#!/bin/sh +find ~/.password-store -type f -printf '%P\n' | \ + sed 's/\.gpg$//' | dmenu -p 'Pass:' | \ + while read -r psw; do + pass -c "$psw" +done -- cgit v1.2.3