dotfiles/bin/music_player
2021-01-11 17:02:36 -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}"