clean up music player

This commit is contained in:
David Todd 2021-01-11 17:02:36 -06:00
parent 9fe663d4f0
commit 7f71960a59
1 changed files with 4 additions and 3 deletions

View File

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