✨ a lot of changes and new stuff! started using mako
This commit is contained in:
@@ -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)
|
||||
)
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user