[Init]
This commit is contained in:
9
home/gui/eww/modules/bright.yuck
Normal file
9
home/gui/eww/modules/bright.yuck
Normal file
@@ -0,0 +1,9 @@
|
||||
(defwidget bright []
|
||||
(box
|
||||
:class "module"
|
||||
(eventbox
|
||||
:onscroll "echo {} | sed -e 's/up/-U 1/g' -e 's/down/-A 1/g' | xargs light"
|
||||
(label
|
||||
:text {brightness.icon}
|
||||
:class "bright-icon icon"
|
||||
:tooltip "brightness ${round(brightness.percent, 0)}%"))))
|
Reference in New Issue
Block a user