dotfiles/home/bin/music_player
2021-01-12 18:33:49 -06:00

8 lines
171 B
Bash
Executable File

#!/bin/bash
cd ~/Music || exit
selected_song=$(ls | rofi -i -dmenu -p "Select a song to play") || exit
notify-send "Playing ${selected_song}"
mplayer "${selected_song}"