summaryrefslogtreecommitdiff
path: root/_posts/2009-06-17-xmobar-on-debian-sid.textile
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
committerFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
commit8ddf2e94df70707b458528a437759b96046d3e01 (patch)
treed442818d92d3c9c6f7fcdc92857a1228963849a1 /_posts/2009-06-17-xmobar-on-debian-sid.textile
parentDon't need to use the IP in the makefile. (diff)
downloadlumberjaph-8ddf2e94df70707b458528a437759b96046d3e01.tar.gz
Huge update.
Moved all posts from textile to markdown. Updated all the CSS and styles. Added a new page for the resume.
Diffstat (limited to '_posts/2009-06-17-xmobar-on-debian-sid.textile')
-rw-r--r--_posts/2009-06-17-xmobar-on-debian-sid.textile34
1 files changed, 0 insertions, 34 deletions
diff --git a/_posts/2009-06-17-xmobar-on-debian-sid.textile b/_posts/2009-06-17-xmobar-on-debian-sid.textile
deleted file mode 100644
index 7382b1a..0000000
--- a/_posts/2009-06-17-xmobar-on-debian-sid.textile
+++ /dev/null
@@ -1,34 +0,0 @@
----
-layout: post
-category: app
-title: xmobar on debian SID
----
-
-If you are using "xmonad":http://www.xmonad.org/ and "xmobar":http://code.haskell.org/~arossato/xmobar/ on "debian SID":http://www.debian.org/ on a laptop, and don't see any battery information, you may have test this "solution":http://5e6n1.wordpress.com/2009/03/30/xmobar-battery-plugin-using-sysfs-not-procfs/.
-
-If this didn't solve your problem, try this patch on SysfsBatt.hs :
-
-{% highlight haskell %}
-52c52
-< let path = sysfsPath ++ p ++ "/charge_full"
----
-> let path = sysfsPath ++ p ++ "/energy_full"
-62c62
-< let path = sysfsPath ++ p ++ "/charge_now"
----
-> let path = sysfsPath ++ p ++ "/energy_now"
-74c74
-< else showWithColors (printf "%.2f%%") stateInPercentage
----
-> else showWithColors (printf "Batt: %.2f%%") stateInPercentage
-{% endhighlight %}
-
-Then as before:
-
-{% highlight bash %}
-runhaskell Setup.lhs configure --user
-runhaskell Setup.lhs build
-runhaskell Setup.lhs install --user
-{% endhighlight %}
-
-Battery information should be visible.