diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-06-26 15:59:46 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-06-26 15:59:46 +0900 |
| commit | 2a8d57456829bfb7849afce33552ff2e414174bb (patch) | |
| tree | 64952a93e01b2cc6274086bdc2647df16c6d138d /ar/.local/bin/dmenudelmusic | |
| parent | 45f2baadb42892c47776cde293933f14d008027d (diff) | |
modified bin/dmenudelmusic, modified bin/emojiupdate, modified bin/setmonitors, modified bin/v2m
Diffstat (limited to 'ar/.local/bin/dmenudelmusic')
| -rwxr-xr-x | ar/.local/bin/dmenudelmusic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/dmenudelmusic b/ar/.local/bin/dmenudelmusic index 9f5540c..c28130a 100755 --- a/ar/.local/bin/dmenudelmusic +++ b/ar/.local/bin/dmenudelmusic @@ -8,7 +8,7 @@ playlist_dir="${XDG_CONFIG_HOME:-${HOME}/.config}/mpd/playlists" # Select the relative path. Sort the list so "first match" semantics in dmenu # are deterministic — otherwise filesystem order is unstable and typing a -# substring (e.g. "성시경") can return whichever file find walked first. +# substring can return whichever file find walked first. # `-not -path '*/.*'` skips hidden files (.music.txt, etc.); name filter limits to audio. selected_relpath=$(cd "$music_dir" && find . -type f -not -path '*/.*' \( -name '*.mp3' -o -name '*.m4a' -o -name '*.opus' -o -name '*.flac' -o -name '*.wav' -o -name '*.webm' \) | sed 's|^\./||' | LC_ALL=C.UTF-8 sort | dmenu -i -l 20 -p "Select a file to delete:") || exit 1 [ -n "$selected_relpath" ] || exit 1 |
