aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rbw-rofi
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-05-17 04:12:10 -0400
committerJesse Luehrs <doy@tozt.net>2020-05-17 04:12:33 -0400
commitabb96894802982024ded92476916251380c88c4c (patch)
treed73212a96c4e27e865078f24414f8c2134fe8b35 /bin/rbw-rofi
parent48568f47bc5e5786f20876abf909e9354444116b (diff)
downloadrbw-abb96894802982024ded92476916251380c88c4c.tar.gz
rbw-abb96894802982024ded92476916251380c88c4c.zip
add some example search helpers
Diffstat (limited to 'bin/rbw-rofi')
-rwxr-xr-xbin/rbw-rofi5
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