update
This commit is contained in:
parent
b66a71129e
commit
3251bca29a
299 changed files with 7589 additions and 37 deletions
21
.config/eww/eww.yuck
Normal file
21
.config/eww/eww.yuck
Normal file
|
@ -0,0 +1,21 @@
|
|||
(defpoll brightness
|
||||
:interval "30ms"
|
||||
`brightnessctl g | awk -v max=$(brightnessctl m) '{print int($1/max * 100)}'`)
|
||||
|
||||
(defwidget brightness []
|
||||
(box :orientation "h" :halign "center" :valign "center" :space-evenly false :spacing 15
|
||||
(label :class "label" :text "")
|
||||
(label :class "label" :text brightness)
|
||||
(progress :class "progress" :value brightness :valign "center" :width 275)))
|
||||
|
||||
(defwindow brightnessWin
|
||||
:class "brightnessWin"
|
||||
:monitor 0
|
||||
:geometry (geometry
|
||||
:x "0%"
|
||||
:y "50px"
|
||||
:width "20%"
|
||||
:height "50px"
|
||||
:anchor "bottom center")
|
||||
:stacking "fg"
|
||||
(brightness))
|
Loading…
Add table
Add a link
Reference in a new issue