aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/plumber-dmenu
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-11-23 02:31:56 -0500
committertdro <tdro@users.noreply.github.com>2020-11-23 02:31:56 -0500
commit33fe558b164c7de6aae7dc85382d8404f274b952 (patch)
tree88e402f82372edfbb5ae0da72e02fad4b43fbfe8 /.local/bin/plumber-dmenu
parentf52e3543ace4dd512750006631940f77885e1bc4 (diff)
downloaddotfiles-33fe558b164c7de6aae7dc85382d8404f274b952.tar.gz
dotfiles-33fe558b164c7de6aae7dc85382d8404f274b952.tar.bz2
dotfiles-33fe558b164c7de6aae7dc85382d8404f274b952.zip
.local/bin/plumber-dmenu: Reduce start up time
Go back to predefining options
Diffstat (limited to '.local/bin/plumber-dmenu')
-rwxr-xr-x.local/bin/plumber-dmenu9
1 files changed, 7 insertions, 2 deletions
diff --git a/.local/bin/plumber-dmenu b/.local/bin/plumber-dmenu
index 46dae74..d7ece41 100755
--- a/.local/bin/plumber-dmenu
+++ b/.local/bin/plumber-dmenu
@@ -1,6 +1,11 @@
#!/bin/sh -eu
-plumber --option list \
- | dmenu -i -b \
+options="First letter of each word in sentence
+Single line of text
+Thesaurus
+KJV Verse Lookup
+"
+printf "%s" "$options" \
+ | dmenu -i -b -p Plumb \
| while read -r option
do
text=$(plumber --option "$option" --text "$(xsel -o)")