Colonel Graff
2011-08-04 04:03:35 UTC
Hey all,
I thought I'd submit a quick and somewhat dirty (by my standards) bash
script that will probably come as a relief to wmii users using the stock
status bar and cmus.
It also allows for one to map keyboard shortcuts to different actions
(amarok-like keybindings in my case). One could also do something like:
while /bin/true ; do
cmus_remote.sh -Q all
sleep 5
done
If they wanted to have it update every five seconds in a terminal. The
script also starts up cmus in a screen session if it's passed the start
option. Sure the script is kind of all over the place in it's usefulness but
it's what I threw together as a quick workaround. I also attached a
screenshot of it working on the stock wmii status bar and in a terminal with
the above example.
I thought I'd submit a quick and somewhat dirty (by my standards) bash
script that will probably come as a relief to wmii users using the stock
status bar and cmus.
It also allows for one to map keyboard shortcuts to different actions
(amarok-like keybindings in my case). One could also do something like:
while /bin/true ; do
cmus_remote.sh -Q all
sleep 5
done
If they wanted to have it update every five seconds in a terminal. The
script also starts up cmus in a screen session if it's passed the start
option. Sure the script is kind of all over the place in it's usefulness but
it's what I threw together as a quick workaround. I also attached a
screenshot of it working on the stock wmii status bar and in a terminal with
the above example.