dotfiles/dot_config/fuzzel/executable_fuzzel-rbw.sh

8 lines
273 B
Bash
Raw Permalink Normal View History

2024-10-30 17:06:32 +01:00
#!/usr/bin/env bash
# Use fuzzel to find a password from password-store and copy it to clipboard.
# inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892
pass_name=$(rbw list | fuzzel -d)
2024-11-07 17:02:06 +01:00
[[ $pass_name != "" ]] && rbw get "$pass_name" --clipboard