diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-05-17 04:12:10 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-05-17 04:12:33 -0400 |
commit | abb96894802982024ded92476916251380c88c4c (patch) | |
tree | d73212a96c4e27e865078f24414f8c2134fe8b35 /bin/rbw-rofi | |
parent | 48568f47bc5e5786f20876abf909e9354444116b (diff) | |
download | rbw-abb96894802982024ded92476916251380c88c4c.tar.gz rbw-abb96894802982024ded92476916251380c88c4c.zip |
add some example search helpers
Diffstat (limited to 'bin/rbw-rofi')
-rwxr-xr-x | bin/rbw-rofi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/rbw-rofi b/bin/rbw-rofi new file mode 100755 index 0000000..5c087fe --- /dev/null +++ b/bin/rbw-rofi @@ -0,0 +1,5 @@ +#!/bin/bash +set -eu +set -o pipefail + +rbw ls --fields folder,name,user | sed 's/\t/\//g' | sort | rofi -dmenu | sed 's/^[^\/]*\///' | sed 's/\// /' | xargs -r rbw get | xclip -l 1 |