summaryrefslogtreecommitdiffhomepage
path: root/readme.md
diff options
context:
space:
mode:
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>2014-05-29 02:16:07 -0400
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>2014-05-29 13:16:38 -0400
commit8f9c5f1ecec8ee13bb0e803a1f26140bb8d8357e (patch)
tree41dab8832b3eb824c319ce49e20f1d30511eaba8 /readme.md
parentf661ea6c7ac3b3884a7a6fc7fec40dedbf2fff05 (diff)
downloadxmobar-8f9c5f1ecec8ee13bb0e803a1f26140bb8d8357e.tar.gz
xmobar-8f9c5f1ecec8ee13bb0e803a1f26140bb8d8357e.tar.bz2
A simple CatInt monitor
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index ac3f4c5..ca3a15f 100644
--- a/readme.md
+++ b/readme.md
@@ -1100,6 +1100,16 @@ more than one battery.
Run Locks
+### `CatInt n fn`
+
+- Reads and displays an integer from the file whose path is `fn`
+ (especially useful with files in `/sys`).
+- Aliases as `catn` (e.g. `Cat 0` as `cat0`, etc.) so you can
+ have several.
+- Example:
+
+ Run CatInt 0 "/sys/devices/platform/thinkpad_hwmon/fan1_input" [] 50
+
## Executing External Commands
In order to execute an external command you can either write the