forked from ahurac/dotfiles
config/eww ahrc-laptop : batterie
This commit is contained in:
parent
edf168c7dc
commit
64f42ea981
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
(deflisten batterystatus
|
||||
:initial "unknown"
|
||||
"listen/battery BAT1"
|
||||
"listen/battery BAT0"
|
||||
)
|
||||
|
||||
(deflisten workspaces
|
||||
|
@ -149,7 +149,7 @@
|
|||
)
|
||||
|
||||
(defwidget battery []
|
||||
"${battery-icon[batterystatus]}${EWW_BATTERY.BAT1.status == "Charging" ? " " : ""} ${EWW_BATTERY.BAT1.capacity} %"
|
||||
"${battery-icon[batterystatus]}${EWW_BATTERY.BAT0.status == "Charging" ? " " : ""} ${EWW_BATTERY.BAT0.capacity} %"
|
||||
)
|
||||
|
||||
(defwindow bar
|
||||
|
|
Loading…
Reference in a new issue