diff options
| author | Blake Romero <blake@blkrom.com> | 2025-03-30 23:16:03 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-03-30 23:16:03 +0100 |
| commit | 29557da3c9b39590177c9d9c3e451d74fb8ee065 (patch) | |
| tree | cb89aa4ea4708a9bde224f34d08f4fe376b604f2 /mpd-menu | |
| parent | 0c753714ac09f1ec47dd947838bc0f0fdd91519e (diff) | |
Hide file extension in mpd-menu prompt
Diffstat (limited to 'mpd-menu')
| -rwxr-xr-x | mpd-menu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/bin/sh -song=$(ls ~/music | bemenu -p "Play") +song=$(ls ~/music | sed 's/.mp3//' | bemenu -p "Play") [ -z "$song" ] && exit 1 mpc clear -mpc add "$song" +mpc add "${song}.mp3" mpc play |
