summaryrefslogtreecommitdiff
path: root/posts/2009-06-17-xmobar-on-debian-sid.org
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--posts/2009-06-17-xmobar-on-debian-sid.org17
1 files changed, 17 insertions, 0 deletions
diff --git a/posts/2009-06-17-xmobar-on-debian-sid.org b/posts/2009-06-17-xmobar-on-debian-sid.org
new file mode 100644
index 0000000..f906abc
--- /dev/null
+++ b/posts/2009-06-17-xmobar-on-debian-sid.org
@@ -0,0 +1,17 @@
+#+BEGIN_QUOTE
+ #+BEGIN_EXAMPLE
+ else showWithColors (printf "Batt: %.2f%%") stateInPercentage
+ #+END_EXAMPLE
+
+ ```
+#+END_QUOTE
+
+Then as before:
+
+#+BEGIN_EXAMPLE
+ % runhaskell Setup.lhs configure --user
+ % runhaskell Setup.lhs build
+ % runhaskell Setup.lhs install --user
+#+END_EXAMPLE
+
+Battery information should be visible.