- Location:
- /mpd-status/trunk
- Files:
-
- 1 added
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
/mpd-status/trunk/README
r30 r20 5 5 [2]wmii's status bar. 6 6 7 If you want a more featureful status bar for wmii, check out 8 [3]szs3rd, from which I shamelessly copied and hacked the mpc.py 9 module. 7 If you want a more featureful status bar, check out [3]szs3rd, from 8 which I shamelessly copied and hacked the mpc.py module. 10 9 11 10 Features … … 31 30 [7]http://svn.bleah.co.uk/repos/misc/mpd-status/trunk/mpd-status.py 32 31 33 Usage32 Installation and Usage 34 33 35 When run, the script simply outputs current track information (or 36 '--Not playing--') to standard output. To have this update 37 continuously, run it repeatedly inside a loop construct, for 38 example (using sh): 34 (Instructions are based around the setup for wmii 2 in [8]Debian) 39 35 40 while true 41 do 42 mpd-status.py 43 sleep 1 44 done 36 1. Place mpd-status.py somewhere, like /usr/local/bin/ or 37 ~/.wmii/scripts/ 38 2. Copy /etc/wmii/status.sh to ~/.wmii/status.sh and edit it, or 39 edit /etc/wmii/status.sh directly. 40 3. Edit the following line to include "`python2.4 41 /path/to/mpc.py`" (see patch below for an example): 45 42 46 Some example 'status' rc scripts for wmii 2.5 are contained in the 47 examples directory. 43 text="`date` `uptime | sed -e 's/.*://' -e 's/,//g'`" 44 45 4. Restart wmii: /etc/wmii/rc restart 46 47 You should see some extra text on your wmibar, either "--Not 48 playing--" or your currently playing/paused track. 48 49 49 50 License … … 75 76 6. http://subversion.tigris.org/ 76 77 7. http://svn.bleah.co.uk/repos/misc/mpd-status/trunk/mpd-status.py 77 8. http://www.fsf.org/licensing/licenses/gpl.html 78 9. http://www.fsf.org/ 79 10. http://www.fsf.org/licensing/licenses/gpl.html 80 11. http://projects.bleah.co.uk/misc/attachment/wiki/MpdStatus/wmii-mpd-status.patch 81 12. http://projects.bleah.co.uk/misc/attachment/wiki/MpdStatus/mpd-status.png 78 8. http://www.debian.org/ 79 9. http://www.fsf.org/licensing/licenses/gpl.html 80 10. http://www.fsf.org/ 81 11. http://www.fsf.org/licensing/licenses/gpl.html 82 12. http://projects.bleah.co.uk/misc/attachment/wiki/MpdStatus/wmii-mpd-status.patch 83 13. http://projects.bleah.co.uk/misc/attachment/wiki/MpdStatus/mpd-status.png 82 84
Note: See TracChangeset
for help on using the changeset viewer.