watch.mdwn: Correct example of battery widget (#144)

This commit is contained in:
Carl Helmertz 2019-05-02 20:59:51 +02:00 committed by Emmanuel Lepage Vallée
parent c537cf9e11
commit 1230c31d7e
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ local mpris, mpris_timer = awful.widget.watch(
local mybattery = 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'" }, { awful.util.shell, "-c", "upower -i /org/freedesktop/UPower/devices/battery_BAT | sed -n '/present/,/icon-name/p'" },
30, 30,
settings = function(widget, stdout) function(widget, stdout)
local bat_now = { local bat_now = {
present = "N/A", present = "N/A",
state = "N/A", state = "N/A",