diff --git a/eww/yuck/dock/dock_window.yuck b/eww/yuck/dock/dock_window.yuck new file mode 100644 index 0000000..45e988d --- /dev/null +++ b/eww/yuck/dock/dock_window.yuck @@ -0,0 +1,4 @@ +(defwindow dock + + +) \ No newline at end of file diff --git a/eww/yuck/osd/osd_widg.yuck b/eww/yuck/osd/osd_widg.yuck index 2835d51..c1b53f8 100644 --- a/eww/yuck/osd/osd_widg.yuck +++ b/eww/yuck/osd/osd_widg.yuck @@ -1,37 +1,38 @@ (defwidget osd_widg [osdtype osd_value] (overlay - :class "osd_progbar_container ${osdtype}" - :active false - :halign "fill" - :height 50 - :width 200 - (box - :class "osd_prog_bg" + :class "osd_progbar_container ${osdtype}" + :active false :halign "fill" - :valign "fill" :height 50 :width 200 - ) - (box - :class "osd_prog_filled ${osd_value.status}" - :height 50 - :width "${(200/100)*osd_value.level}" - :halign "start" - :valign "fill" - ) - (label - :class "osd_value" - :height 35 - :halign "end" - :valign "center" - :text "${osd_value.level}%" - ) - (label - :class "osd_icon" - :height 35 - :halign "start" - :valign "center" - :text "${osd_value.icon}" - ) + + (box + :class "osd_prog_bg" + :halign "fill" + :valign "fill" + :height 50 + :width 200 + ) + (box + :class "osd_prog_filled ${osd_value.status}" + :height 50 + :width "${(200/100)*osd_value.level}" + :halign "start" + :valign "fill" + ) + (label + :class "osd_value" + :height 35 + :halign "end" + :valign "center" + :text "${osd_value.level}%" + ) + (label + :class "osd_icon" + :height 35 + :halign "start" + :valign "center" + :text "${osd_value.icon}" + ) ) ) \ No newline at end of file diff --git a/eww/yuck/osd/osd_window.yuck b/eww/yuck/osd/osd_window.yuck index 56abe8a..c08eabf 100644 --- a/eww/yuck/osd/osd_window.yuck +++ b/eww/yuck/osd/osd_window.yuck @@ -2,22 +2,24 @@ (defwindow osd [osdtype] :geometry - (geometry :x "-1%" - :y "4.5%" - :width "10%" - :height "4%" - :anchor "top right" - ) - :halign "end" - :valign "end" + (geometry + :x "-1%" + :y "4.5%" + :width "10%" + :height "4%" + :anchor "top right" + ) + :halign "end" + :valign "end" :monitor 0 :stacking "fg" :windowtype "dock" :wm-ignore true (osd_widg - :osdtype "${osdtype}" - :osd_value {osdtype=="osd_vol" ? + :osdtype "${osdtype}" + :osd_value + {osdtype=="osd_vol" ? "${vol}" : osdtype=="osd_bri" ? "${brit}" : "${battery}" }