Refactor codebase to use nix modules
This commit is contained in:
parent
bbd5b2f423
commit
02fe68372c
114 changed files with 1018 additions and 744 deletions
|
|
@ -1,15 +0,0 @@
|
|||
(defwidget powerbar []
|
||||
(box
|
||||
:orientation "vertical"
|
||||
:spacing 8
|
||||
:space-evenly false
|
||||
:style "color: #FAB387"
|
||||
(progress
|
||||
:orientation "v"
|
||||
:value {100 - power})
|
||||
"電"
|
||||
)
|
||||
)
|
||||
|
||||
(defpoll power :interval "1m"
|
||||
"cat /sys/class/power_supply/BAT1/capacity")
|
||||
Loading…
Add table
Add a link
Reference in a new issue