aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/plumber-dmenu
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-04-06 22:51:20 -0400
committertdro <tdro@users.noreply.github.com>2022-04-06 22:51:20 -0400
commitdf4aed2a5443a5e906a3c6a50f7cdd3c961eea82 (patch)
tree223eb7868cb9882113f845e672d79206237663d2 /.local/bin/plumber-dmenu
parent427fe844859a06afebc839af13b6d8dd88ce55d2 (diff)
downloaddotfiles-df4aed2a5443a5e906a3c6a50f7cdd3c961eea82.tar.gz
dotfiles-df4aed2a5443a5e906a3c6a50f7cdd3c961eea82.tar.bz2
dotfiles-df4aed2a5443a5e906a3c6a50f7cdd3c961eea82.zip
.local/bin/plumber: Add smart camel case conversion
Make slug converter recognize camel case. Wrap generated lorem ipsum text.
Diffstat (limited to '.local/bin/plumber-dmenu')
-rwxr-xr-x.local/bin/plumber-dmenu19
1 files changed, 10 insertions, 9 deletions
diff --git a/.local/bin/plumber-dmenu b/.local/bin/plumber-dmenu
index 9779223..07e0488 100755
--- a/.local/bin/plumber-dmenu
+++ b/.local/bin/plumber-dmenu
@@ -1,14 +1,15 @@
#!/bin/sh -eu
options="\
-first letter word
-single line
-slug
-title case
-lower case
-lorem title
-lorem paragraph
-thesaurus
-kjv verse lookup
+text->camelize
+word->dictionary
+text->first-letter-words
+verse->kjv
+lorem->paragraph
+lorem->title
+case->lower
+text->single-line
+text->slugize
+case->title
"
printf "%s" "$options" \
| dmenu -i -b -p ⠀:::⠀plumber⠀::: \