commit bbb07043ffb0ff505ff61c29ec83d8298c936c5f
parent afde2f8b4a78709bcab0e8ede8a63057be0e4375
Author: Jake Koroman <jakekoroman@gmail.com>
Date: Wed, 7 Aug 2024 16:01:03 -0400
update passmenu and add hotkey.
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
@@ -16,6 +16,9 @@ super+p
super+Delete
i3lock -c 181818
+super+F12
+ passmenu-otp
+
XF86AudioRaiseVolume
wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+
diff --git a/scripts/passmenu-otp b/scripts/passmenu-otp
@@ -13,8 +13,8 @@ password_files=( "$prefix"/**/*.gpg )
password_files=( "${password_files[@]#"$prefix"/}" )
password_files=( "${password_files[@]%.gpg}" )
-# dmenu_cmd="bemenu -l 8 -w -i $@"
-dmenu_cmd="wofi_style --show dmenu $@"
+# dmenu_cmd="wofi_style --show dmenu $@"
+dmenu_cmd="dmenu -l 12 -i $@"
password=$(printf '%s\n' "${password_files[@]}" | $dmenu_cmd)
[[ -n $password ]] || exit