diff --git a/local/bin/abr-kill b/local/bin/abr-kill deleted file mode 100755 index 9858050..0000000 --- a/local/bin/abr-kill +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cat "$HOME/.abrpid" | xargs kill -rm "$HOME/.abrpid" diff --git a/local/bin/abr-listen b/local/bin/abr-listen deleted file mode 100755 index cddbe27..0000000 --- a/local/bin/abr-listen +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -SCRIPT="$HOME/.local/share/notify-send.lua" -PID="$HOME/.abrpid" - -#pick your audio quality (uncomment one to use it) - -# 128kbps Opus -URL=https://radio.animebits.moe/stream/stream128.ogg -# 256kbps Opus -#URL=https://radio.animebits.moe/stream/stream256.ogg -# ~148kbps VBR AAC -#URL=https://radio.animebits.moe/stream/stream128.aac -# ~192kbps VBR MP3 -#URL=https://radio.animebits.moe/stream/stream192.mp3 -# Lossless FLAC -#URL=https://radio.animebits.moe/stream/stream.flac - -[ -f "$PID" ] && { notify-send 'Already running'; exit 1; } -[ "$URL" = "" ] && notify-send "Please edit the script to choose the quality of audio you would like." -echo $$ > "$PID" -exec mpv --script="$SCRIPT" --no-terminal "$URL" 2>/dev/null