dotfiles/home/bin/music_player

8 lines
171 B
Plaintext
Raw Normal View History

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