making battery notify widget have a close button
This commit is contained in:
parent
5d00edbf81
commit
e8038dc9ab
2 changed files with 19 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
|
||||
(defvar batt_close_hover false)
|
||||
|
||||
(defwindow battery
|
||||
:geometry (geometry :x "0px"
|
||||
:y "40px"
|
||||
|
@ -34,4 +37,8 @@
|
|||
:value {EWW_BATTERY["BAT1"].capacity}
|
||||
:orientation "h"
|
||||
:max 100
|
||||
:min 0))))
|
||||
:min 0))
|
||||
(button
|
||||
:class "close-icon"
|
||||
:onclick "eww close battery"
|
||||
"")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue