Add scripts

This commit is contained in:
Krrish Ghimire
2020-09-26 11:22:21 +05:45
parent 0e0b1515b3
commit 33707b7244
5 changed files with 124 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ images="png jpg jpeg"
videos="mkv mp4 gif"
download="mp3 flac pdf"
if echo $1 == *youtu* ; then
tsp mpv --quiet "$1" > /dev/null &
if echo $images | grep -w $ext > /dev/null; then
tsp feh "$1" > /dev/null &
elif echo $videos | grep -w $ext > /dev/null; then