#!/bin/bash declare -A playlists=( [V1]='https://www.youtube.com/playlist?list=PLhe0fcbtmXgH05vjUb9aXib59PEpx1r7W' ) playlist_url="${playlists[$1]}" if [ -z "$playlist_url" ]; then echo "Bad playlist name." exit 1 fi pkill -9 -u "$USER" mpv > /dev/null hyprctl dispatch exec "mpv '$playlist_url' --no-video --shuffle"