Changes in / [30:20]


Ignore:
Location:
/mpd-status/trunk
Files:
1 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • /mpd-status/trunk/README

    r30 r20  
    55   [2]wmii's status bar.
    66
    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.
    109
    1110Features
     
    3130 [7]http://svn.bleah.co.uk/repos/misc/mpd-status/trunk/mpd-status.py
    3231
    33 Usage
     32Installation and Usage
    3433
    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)
    3935
    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):
    4542
    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.
    4849
    4950License
     
    7576  6. http://subversion.tigris.org/
    7677  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
    8284
Note: See TracChangeset for help on using the changeset viewer.