replace without wlcopy

This commit is contained in:
Simon Rieger 2024-11-07 17:02:06 +01:00
parent 8c6e681321
commit ba76b53633
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,7 @@
#!/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)
[[ $pass_name != "" ]] && rbw get "$pass_name" | wl-copy

View file

@ -4,4 +4,4 @@
pass_name=$(rbw list | fuzzel -d) pass_name=$(rbw list | fuzzel -d)
[[ $pass_name != "" ]] && rbw get "$pass_name" | wl-copy [[ $pass_name != "" ]] && rbw get "$pass_name" --clipboard