dot_testing/sh/snownews-url-handler

7 lines
116 B
Plaintext
Raw Normal View History

2022-06-18 21:42:39 -05:00
#!/bin/sh
tube="$(printf "%s\n" "$1" | grep "watch?v=" | wc -l)"
[ "$tube" -eq 1 ] && mpv "$1" && exit
2022-06-18 21:50:35 -05:00
firefox $1