This commit is contained in:
GasparVardanyan 2022-08-19 02:08:40 +04:00
parent a4d9d5469b
commit 52e356850c

9
bin/musplay Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
l=$(ls ~/.config/ytfzf/subscriptions-* | sed 's/^.*subscriptions-//' | dmenu -p 'list: ' -l 20)
if [ "$l" != '' ]
then
t=$(mktemp)
cp ~/.config/ytfzf/subscriptions-"$l" "$t"
YTFZF_SUBSCRIPTIONS_FILE="$t" ytfzf -cSI -r -l -m
fi