summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-19 23:05:52 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-19 23:05:52 +0100
commit4fe3d6dfd2e4a2884670a03e8ef999033a79de66 (patch)
tree77cdcb32487ef769a3bdf82255016005335b1c30 /bin
parentc130f7285f250077336d0930898dbbeddb00b9f7 (diff)
parentd9ababa442b5d02414e100f7de1f574e5616125d (diff)
Merge remote-tracking branch 'refs/remotes/origin/main'
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common/ytclipo2
-rwxr-xr-xbin/guiscripts/slmpd2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/common/ytclipo b/bin/common/ytclipo
index 0ac412c..6cb2fc6 100755
--- a/bin/common/ytclipo
+++ b/bin/common/ytclipo
@@ -9,7 +9,7 @@ echo "inp: ${inp}" 1>&2
# works when link is from yt-local
inp="$(echo -n "$inp" | awk -F 'https?://' '{print $NF}')"
echo "inp: ${inp}" 1>&2
-notify-send "ytclipo" "<b>ytclipo</b><br><i>downloading</i> $inp"
+notify-send "ytclipo" "<b>downloading</b> $inp"
yt-dlp "$inp" \
-f "b" \
diff --git a/bin/guiscripts/slmpd b/bin/guiscripts/slmpd
index 1e573ac..96d9cd1 100755
--- a/bin/guiscripts/slmpd
+++ b/bin/guiscripts/slmpd
@@ -2,5 +2,5 @@
if mpc > /dev/null 2>&1
then
test "`mpc status %totaltime%`" = "0:00" ||
- echo -n "$(mpc status "%currenttime%/%totaltime%") $(mpc current)"
+ echo -n " $(mpc status "%currenttime%/%totaltime%") $(mpc -f "[[%title%]|%file%]" | head -n -2) "
fi