dotfiles/.local/bin/scripts/xo
2023-09-18 17:41:53 +02:00

7 lines
222 B
Bash
Executable file

#!/bin/sh
# xdg-open all given files
# TODO handle .desktop-files with gtk-launch/dex/kioclient exec, add selector from xdg-mime-file
while test $# -gt 0; do
xdg-open "$(case "$1" in (-*) echo './';; esac)$1"
shift
done