dotfiles/scripts/dwm/dwmotp
2024-03-03 11:24:00 -06:00

6 lines
184 B
Bash
Executable file

#!/bin/sh
PASSWORD_STORE_DIR="$HOME/.local/share/password-store"
password="$(~/.config/scripts/menu/menu-pass)"
[ -z "$password" ] && exit
xdotool $(pass otp "$password" | head -n 1)