summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenuhandler
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2023-04-20 09:21:17 -0400
committerLuke Smith <luke@lukesmith.xyz>2023-04-20 09:21:17 -0400
commit77fd62b9f315644be161c8a15287963552af99bd (patch)
tree3b918b9a60a3ff0a55086e334b9df49b278447e3 /.local/bin/dmenuhandler
parent65378ab9443401e0e895d50ad894d66ba4c3ff31 (diff)
parentc08949ebd2aeeec220b63da6a32542a0210bac38 (diff)
downloadeibhear-77fd62b9f315644be161c8a15287963552af99bd.tar.gz
eibhear-77fd62b9f315644be161c8a15287963552af99bd.tar.zst
eibhear-77fd62b9f315644be161c8a15287963552af99bd.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/dmenuhandler')
-rwxr-xr-x.local/bin/dmenuhandler2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmenuhandler b/.local/bin/dmenuhandler
index 0b3c713..acfd71b 100755
--- a/.local/bin/dmenuhandler
+++ b/.local/bin/dmenuhandler
@@ -2,7 +2,7 @@
# Feed this script a link and it will give dmenu
# some choice programs to use to open it.
-feed="${1:-$(printf "%s" | dmenu -p 'Paste URL or file path')}"
+feed="${1:-$(true | dmenu -p 'Paste URL or file path')}"
case "$(printf "copy url\\nsxiv\\nsetbg\\nPDF\\nbrowser\\nlynx\\nvim\\nmpv\\nmpv loop\\nmpv float\\nqueue download\\nqueue yt-dlp\\nqueue yt-dlp audio" | dmenu -i -p "Open it with?")" in
"copy url") echo "$feed" | xclip -selection clipboard ;;