Changeset 25 for mpd-status/trunk/README
- Timestamp:
- Mar 11, 2006, 10:12:41 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mpd-status/trunk/README
r19 r25 5 5 [2]wmii's status bar. 6 6 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. 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. 9 10 10 11 Features … … 30 31 [7]http://svn.bleah.co.uk/repos/misc/mpd-status/trunk/mpd-status.py 31 32 32 Installation andUsage33 Usage 33 34 34 (Instructions are based around the setup for wmii 2 in [8]Debian) 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): 35 39 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): 40 while true 41 do 42 mpd-status.py 43 sleep 1 44 done 42 45 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. 46 Some example 'status' rc scripts for wmii 2.5 are contained in the 47 examples directory. 49 48 50 49 License … … 76 75 6. http://subversion.tigris.org/ 77 76 7. http://svn.bleah.co.uk/repos/misc/mpd-status/trunk/mpd-status.py 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 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 84 82
Note: See TracChangeset
for help on using the changeset viewer.