10 lines
183 B
Bash
Executable File
10 lines
183 B
Bash
Executable File
#!/bin/sh
|
|
|
|
printf "%s\n" "$1" >> /home/usr/aaaaaaaa
|
|
|
|
tube="$(printf "%s\n" "$1" | grep "watch?v=" | wc -l)"
|
|
[ "$tube" -eq 1 ] && mpv "$1" && exit
|
|
|
|
firefox $1
|
|
killall -10 simplestatus
|