add a small optional section

This commit is contained in:
randomuser 2022-07-19 15:44:47 -05:00
parent 9a81d916e5
commit 555b570d1d
1 changed files with 11 additions and 2 deletions

13
sh/trss
View File

@ -135,9 +135,18 @@ open_handler() {
for i in $results; do for i in $results; do
url="$(printf "%s" "$i" | awk -F'\t' '{ print $3 }')" url="$(printf "%s" "$i" | awk -F'\t' '{ print $3 }')"
echo "$url" # on low power systems mpv can be expensive to run
# have to figure out why it stutters so much more than the browser
# case "$url" in
# *youtube*)
# mpv "$url"
# ;;
# *)
# fire "$url" &
# ;;
# esac
fire "$url" & fire "$url" &
done done
IFS="$OLDIFS" IFS="$OLDIFS"
} }