summaryrefslogtreecommitdiff
path: root/posts/2009-06-17-xmobar-on-debian-sid.org
blob: f906abce9309a49ecdff83821821da651ba959d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.