✨ eww: add new tiles to control-center, new notification popup, new styles for a lot of widgets
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
|
||||
(defwidget audio []
|
||||
(eventbox :onclick "sh scripts/eww-window.sh toggle volume-control"
|
||||
(eventbox :onclick "sh ${EWW_CONFIG_DIR}/scripts/eww-window.sh toggle volume-control"
|
||||
:class "audio-eventbox"
|
||||
:cursor "pointer"
|
||||
(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}%"))
|
||||
|
||||
Reference in New Issue
Block a user