watch.mdwn: Correct example of battery widget (#144)
This commit is contained in:
parent
c537cf9e11
commit
1230c31d7e
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue