From 1230c31d7ec15c9693f4245c45e7165dd5c8009b Mon Sep 17 00:00:00 2001 From: Carl Helmertz Date: Thu, 2 May 2019 20:59:51 +0200 Subject: [PATCH] watch.mdwn: Correct example of battery widget (#144) --- recipes/watch.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/watch.mdwn b/recipes/watch.mdwn index 6759b2f..3399a74 100644 --- a/recipes/watch.mdwn +++ b/recipes/watch.mdwn @@ -153,7 +153,7 @@ local mpris, mpris_timer = awful.widget.watch( local mybattery = awful.widget.watch( { awful.util.shell, "-c", "upower -i /org/freedesktop/UPower/devices/battery_BAT | sed -n '/present/,/icon-name/p'" }, 30, - settings = function(widget, stdout) + function(widget, stdout) local bat_now = { present = "N/A", state = "N/A",