From e2acc103391fef7619dcbe6aa5589122b7d3f396 Mon Sep 17 00:00:00 2001 From: David Todd Date: Thu, 26 Mar 2020 16:49:33 -0500 Subject: [PATCH] Add music player selection --- bin/music_player | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/music_player diff --git a/bin/music_player b/bin/music_player new file mode 100755 index 0000000..c7d0510 --- /dev/null +++ b/bin/music_player @@ -0,0 +1,6 @@ +#!/bin/bash + +cd ~/Music +selected_song=$(ls | rofi -i -dmenu -p "Select a song to play") +notify-send "Playing ${selected_song}" +mplayer ${selected_song} \ No newline at end of file