dotfiles/bin/music_player

6 lines
151 B
Plaintext
Raw Normal View History

2020-03-26 21:49:33 +00:00
#!/bin/bash
cd ~/Music
selected_song=$(ls | rofi -i -dmenu -p "Select a song to play")
notify-send "Playing ${selected_song}"
mplayer ${selected_song}