mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-21 03:04:38 +10:00
Minor changes.
This commit is contained in:
@@ -24,8 +24,7 @@
|
||||
|
||||
nowplaying=`deadbeef --nowplaying "%n %a - %t - %b - %y" | sed -n '1p' | tr -d '"'`
|
||||
tracktime=`deadbeef --nowplaying "%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'`
|
||||
playlist_num=`ls -l /home/dt/.config/deadbeef/playlists/* | wc -l | sed -n '1p'`
|
||||
|
||||
echo "<openbox_pipe_menu>"
|
||||
echo "<menu id=\"root-menu-325671\" label=\""Track Info"\">"
|
||||
@@ -35,7 +34,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/derek/.config/deadbeef/playlists/*.dbpl -1v); do
|
||||
for file in $(ls /home/dt/.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
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
'Active' - where the active window is -->
|
||||
</placement>
|
||||
<theme>
|
||||
<name>Mabox-superdesk</name>
|
||||
<name>Adapta-Nokto</name>
|
||||
<titleLayout>CSIML</titleLayout>
|
||||
<!--
|
||||
available characters are NDSLIMC, each can occur at most once.
|
||||
|
||||
Reference in New Issue
Block a user