Fixed rainymood fish function

This commit is contained in:
Lucien Cartier-Tilet 2020-05-28 11:56:13 +02:00
parent 6bb04f5fd5
commit 40f43c704a
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -10,7 +10,7 @@ function rainymood
end end
if [ "$volume" != "" ] if [ "$volume" != "" ]
set FILE (math (random) % 4) set FILE (math (random) % 4)
set URL "https://rainymood.com/audio1110/$FILE.ogg" set URL "https://rainymood.com/audio1112/$FILE.ogg"
mpv $URL --force-window=no --volume=$volume; and rainymood mpv $URL --force-window=no --volume=$volume; and rainymood
else else
echo "Missing value after -v/--volume option." echo "Missing value after -v/--volume option."