aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/plumber-dmenu
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-03-17 23:10:42 -0400
committertdro <tdro@users.noreply.github.com>2022-03-17 23:14:01 -0400
commit07224674954a8740322206a8d30981dd017ae3e3 (patch)
tree5feb1ea5a6510f7c4ba0e346ab0e91bfe3c100a9 /.local/bin/plumber-dmenu
parent4b01f405f38a83e0e3e8c036c19c6ad2e2e7907a (diff)
downloaddotfiles-07224674954a8740322206a8d30981dd017ae3e3.tar.gz
dotfiles-07224674954a8740322206a8d30981dd017ae3e3.tar.bz2
dotfiles-07224674954a8740322206a8d30981dd017ae3e3.zip
.config/nixpkgs/packages/dmenu: Use my source and patches
Diffstat (limited to '.local/bin/plumber-dmenu')
-rwxr-xr-x.local/bin/plumber-dmenu20
1 files changed, 10 insertions, 10 deletions
diff --git a/.local/bin/plumber-dmenu b/.local/bin/plumber-dmenu
index 31e200d..9779223 100755
--- a/.local/bin/plumber-dmenu
+++ b/.local/bin/plumber-dmenu
@@ -1,17 +1,17 @@
#!/bin/sh -eu
options="\
-First Letter Word
-Single Line
-Slug
-Title Case
-Lower Case
-Lorem Title
-Lorem Paragraph
-Thesaurus
-KJV Verse Lookup
+first letter word
+single line
+slug
+title case
+lower case
+lorem title
+lorem paragraph
+thesaurus
+kjv verse lookup
"
printf "%s" "$options" \
- | dmenu -i -b -p Plumb \
+ | dmenu -i -b -p ⠀:::⠀plumber⠀::: \
| while read -r option
do
text=$(plumber --option "$option" --text "$(xsel -o)")