Pulling then pushing.

This commit is contained in:
Derek Taylor
2020-02-16 23:15:06 -06:00
parent 08bb21b269
commit 2c0c2ae9a7
33 changed files with 572 additions and 609 deletions

View File

@@ -24,7 +24,8 @@
nowplaying=`deadbeef --nowplaying "%n %a - %t - %b - %y" | sed -n '1p' | tr -d '"'`
tracktime=`deadbeef --nowplaying "%l" | sed -n '1p'`
playlist_num=`ls -l /home/dt/.config/deadbeef/playlists/* | wc -l | sed -n '1p'`
playlist_dir=`/home/derek/.config/deadbeef/playlists/`
playlist_num=`ls -l /home/derek/.config/deadbeef/playlists/* | wc -l | sed -n '1p'`
echo "<openbox_pipe_menu>"
echo "<menu id=\"root-menu-325671\" label=\""Track Info"\">"
@@ -34,7 +35,7 @@ echo "<separator/>"
echo "<item label=\"Open Music Player\"><action name=\"Execute\"><execute>deadbeef</execute></action></item>"
echo "</menu>"
echo "<menu id=\"root-menu-325676\" label=\"Playlists ($playlist_num)\">"
for file in $(ls /home/dt/.config/deadbeef/playlists/*.dbpl -1v); do
for file in $(ls /home/derek/.config/deadbeef/playlists/*.dbpl -1v); do
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
echo "<item label=\"$NAME\"><action name=\"Execute\"><execute>deadbeef $file</execute></action></item>"
done

View File

@@ -42,7 +42,7 @@
'Active' - where the active window is -->
</placement>
<theme>
<name>Adapta-Nokto</name>
<name>Mabox-superdesk</name>
<titleLayout>CSIML</titleLayout>
<!--
available characters are NDSLIMC, each can occur at most once.