diff options
Diffstat (limited to 'xbattext.ms')
-rw-r--r-- | xbattext.ms | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/xbattext.ms b/xbattext.ms index e01225f..8f2f2e1 100644 --- a/xbattext.ms +++ b/xbattext.ms @@ -29,8 +29,10 @@ This document is a commented version of the source code. It is generated with .I re , -a reference-based literate programming system available at the WWW address +a reference-based literate programming system available at http://git.\:ankarstrom.se/re/. +The uncommented source code is hosted at +http://git.\:ankarstrom.se/x11/xbattext/. .PP If you want to see a screenshot of .I xbattext , @@ -261,12 +263,12 @@ To begin with, the label string is set to the value defined earlier. .Re xbattext.c:/^ \/\* check charging status/ .LP -The bits +The .CW SET_CHARGE -and -.CW SET_\:NOCHARGE -are added to the -.I charge +or +.CW SET_NO\:CHARGE +bit is added to the +.I change bitmap when a change in .I info.ac_\:state is detected. @@ -300,10 +302,10 @@ but the AC adapter is still plugged in. (Remember that the .I change -variable reflects a +bitmap reflects a .B change in state. -It does not reflect the +It does not reflect the current .B state .) .Re xbattext.c:/^ \/\* act on state changes/ .LP |