eww: add new features and fix issues

This commit is contained in:
retrozinndev
2024-12-07 16:43:37 -03:00
parent adf8b7d9ba
commit e9258d04e4
26 changed files with 882 additions and 207 deletions
@@ -0,0 +1,19 @@
(defwidget source-slider []
(box :class "source-slider"
:space-evenly true
(overlay
(scale :min 0
:max 100
:value "${volume_json.source}"
:orientation "horizontal"
:draw-value false
:flipped false
:onchange "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ $(awk -v n={} 'BEGIN { print (n / 100) }')"
:class "output-volume-slider")
(label :text "󰍬"
:xalign 0)
)
)
)