refactore directory structure
This commit is contained in:
parent
3830eef1f4
commit
e87bfb7c39
485 changed files with 66 additions and 1696 deletions
35
.config/eww/volume.yuck
Normal file
35
.config/eww/volume.yuck
Normal file
|
@ -0,0 +1,35 @@
|
|||
(defwindow volume
|
||||
:geometry (geometry :x "0px"
|
||||
:y "40px"
|
||||
:anchor "top center")
|
||||
:stacking "overlay"
|
||||
:monitor "0"
|
||||
:focusable "false"
|
||||
:windowtype "dock"
|
||||
:wm-ignore "true"
|
||||
(volshow))
|
||||
|
||||
(defwidget volshow []
|
||||
(box
|
||||
:class "volume-container"
|
||||
:orientation "h"
|
||||
:space-evenly "false"
|
||||
:spacing 5
|
||||
(button
|
||||
:class "volume-icon"
|
||||
:valign "center"
|
||||
:halign "center"
|
||||
:onclick "" "")
|
||||
(scale
|
||||
:class "volume-value"
|
||||
:value {volume_percent}
|
||||
:valign "center"
|
||||
:halign "start"
|
||||
:orientation "h"
|
||||
:max 150
|
||||
:min 0)
|
||||
(label
|
||||
:class "volume-label"
|
||||
:halign "start"
|
||||
:valign "center"
|
||||
:text "${volume_percent}%")))
|
Loading…
Add table
Add a link
Reference in a new issue