Skip to content

Commit

Permalink
ddmpc: initial
Browse files Browse the repository at this point in the history
  • Loading branch information
trapd00r committed Sep 26, 2010
1 parent eb807e9 commit 52ad30d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ddmpc
@@ -0,0 +1,12 @@
#!/bin/bash
# ddmpc

out=$(mpc $(mpc help | grep " mpc [a-z]" | awk '{print $2}' \
| dmenu -i -b $DMENU_LINES -fn $DMENU_FONT -nb $DMENU_NORMAL_BG \
-nf $DMENU_NORMAL_FG -sb $DMENU_SELECT_BG -sf $DMENU_SELECT_FG))

echo "$out" | dzen2 -p 5 \
-fn -xos4-terminus-medium-r-normal--24-240-72-72-c-120-koi8-u \
-x $DZEN_X_POS -y $DZEN_Y_POS \
-ta $DZEN_ALIGNMENT -sa $DZEN_ALIGNMENT -w $DZEN_WIDTH \
-fg $DZEN_FG -bg $DZEN_BG

0 comments on commit 52ad30d

Please sign in to comment.