Made the script dash compatible.

This commit is contained in:
cronyakatsuki 2022-10-30 16:07:16 +01:00
parent a5181c505c
commit 56ca92cb33
13 changed files with 13 additions and 13 deletions

View file

@ -3,7 +3,7 @@
# Feed this script a link or it will get it from your clipboard and it will give dmenu
# with some choice of programs to open the link with.
source $HOME/.config/dmenu/config
. $HOME/.config/dmenu/config
case "$(printf "mpv\\nbrowser\\ncopy url [X11]\\ncopy url [Wayland]\\nw3m" | $DMENU -p "Open link with what program?")" in
mpv) "$VIDEO" "$@" ;;