aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstr\xf6m <john@ankarstrom.se>2021-06-04 13:37:01 +0200
committerJohn Ankarstr\xf6m <john@ankarstrom.se>2021-06-04 13:41:38 +0200
commitb28bc03767fd22dafea845aa4a23f295a6335182 (patch)
treef238f866576dedd6c9c7a74de0f680d9ef6a8e55
parent0d4fd0be8cc737c1dd5675183d80db19b9ff1b14 (diff)
downloadxbattext-b28bc03767fd22dafea845aa4a23f295a6335182.tar.gz
xbattext.ms: Add link to repository, fix typos
-rw-r--r--xbattext.ms18
-rw-r--r--xbattext.pdfbin75081 -> 75110 bytes
2 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
diff --git a/xbattext.pdf b/xbattext.pdf
index 3455c94..90e5f5c 100644
--- a/xbattext.pdf
+++ b/xbattext.pdf
Binary files differ