a lot of changes and new stuff! started using mako

This commit is contained in:
retrozinndev
2024-12-19 22:06:54 -03:00
parent ab899c2acb
commit e814cf996f
59 changed files with 837 additions and 542 deletions
@@ -0,0 +1,18 @@
(defwidget output-slider []
(box :class "slider output-slider"
:space-evenly true
(overlay
(scale :min 0
:max 101 ; dirty fix max 99% volume
:value "${json_volume.output}"
:orientation "horizontal"
:draw-value false
:flipped false
:onchange "wpctl set-volume @DEFAULT_AUDIO_SINK@ $(awk -v n={} 'BEGIN { print (n / 100) }')")
(label :text "󰕾"
:xalign 0)
)
)
)