diff options
author | tdro <tdro@users.noreply.github.com> | 2020-11-23 02:31:56 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-11-23 02:31:56 -0500 |
commit | 33fe558b164c7de6aae7dc85382d8404f274b952 (patch) | |
tree | 88e402f82372edfbb5ae0da72e02fad4b43fbfe8 /.local/bin/plumber-dmenu | |
parent | f52e3543ace4dd512750006631940f77885e1bc4 (diff) | |
download | dotfiles-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-dmenu | 9 |
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)") |