✨ a lot of changes and new stuff! started using mako
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
(defwidget audio []
|
||||
(eventbox :onclick "eww open --toggle audio-popup"
|
||||
(eventbox :onclick "sh scripts/eww-window.sh toggle volume-control"
|
||||
:class "audio-eventbox"
|
||||
(box :class "audio"
|
||||
(box :class "audio ${window_state_volume-control}"
|
||||
(eventbox :onscroll `[ {} == "up" ] && wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ || wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-`
|
||||
(label :text "${ json_volume.output != 0 ? '' : '' } ${json_volume.output}%"))
|
||||
(eventbox :onscroll `[ {} == "up" ] && wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+ || wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-`
|
||||
|
||||
Reference in New Issue
Block a user