~yerinalexey/dotfiles

958afc8fe04afd32835b869e4b8fe0f9a2925799 — Alexey Yerin 1 year, 7 months ago 2915f5c
himitsu-menu: less hacks
1 files changed, 3 insertions(+), 3 deletions(-)

M scripts/himitsu-menu
M scripts/himitsu-menu => scripts/himitsu-menu +3 -3
@@ 1,10 1,10 @@
#!/bin/sh -e
#!/bin/sh -ex

selected="$(hiq | bemenu -i -l 10 -p "hiq>")"
if [ -n "$selected" ]; then
	# Decrypt
	selected="$(hiq -d $selected)"
	password="${selected##*!=}"
	echo "$selected"
	password="$(hiq -1d -Fpassword $selected)"

	wl-copy "$password"
	sleep 20