]> gitweb.fluxo.info Git - scripts.git/commitdiff
Fixing battery handling for conky
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 8 Feb 2013 00:52:05 +0000 (22:52 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 8 Feb 2013 00:52:05 +0000 (22:52 -0200)
xconky

diff --git a/xconky b/xconky
index 17c5eb8467ba89ec2d725c9a7fb6447e11493380..8986e169fda13190acdb59e03f97bce0ab9ba1bc 100755 (executable)
--- a/xconky
+++ b/xconky
@@ -27,7 +27,7 @@ function xconky_start {
 # Battery level if on laptop
 function xconky_battery {
   if laptop-detect; then
-    echo '${color grey}${color grey}Power: ${battery BAT1} ${battery_bar 6}$'
+    echo '${color grey}${color grey}Power: ${battery} ${battery_bar 6}'
   fi
 }