diff --git a/de/home/.config/eww/modules/bar/tray.yuck b/de/home/.config/eww/modules/bar/tray.yuck index eccadee..ba1ad58 100644 --- a/de/home/.config/eww/modules/bar/tray.yuck +++ b/de/home/.config/eww/modules/bar/tray.yuck @@ -1,10 +1,12 @@ (defvar reveal_tray false) (defwidget tray [] (revealer-on-hover - :class "tray_tab ${reveal_tray}" + :class "tray ${reveal_tray}" :revealvar reveal_tray :revealvar-name "reveal_tray" - {reveal_tray ? "" : ""} + (label + :class "revealer-preview" + :text {reveal_tray ? "" : ""}) (tray_children))) (defwidget tray_children [] @@ -13,7 +15,7 @@ :halign "center" (systray :orientation "h" - :class "reveal_children tray" + :class "reveal-children" :space-evenly true :spacing 0 :icon-size 20 diff --git a/de/home/.config/eww/style/bar.scss b/de/home/.config/eww/style/bar.scss index 229a756..73e500c 100644 --- a/de/home/.config/eww/style/bar.scss +++ b/de/home/.config/eww/style/bar.scss @@ -55,11 +55,11 @@ $transition-time: 0.3s; @import "./bar/charts.scss"; // &>box>button, - &>box>label, +// &>box>label, // .bar-module>button, - .bar-module>label, +// .bar-module>label, // .revealer-on-hover>widget>box>box>*, - .reveal_children>widget>image, +/* .reveal_children>widget>image, .reveal_children:not(.tray)>* { padding: 0px 5px; min-width: $bar-module-width; @@ -83,7 +83,7 @@ $transition-time: 0.3s; &:hover,&:hover image { opacity: 1; } - } + }*/ @import "./bar/window_title.scss"; @import "./bar/idle-inhibitor.scss"; @@ -95,19 +95,20 @@ $transition-time: 0.3s; // @import "./bar/memory.scss"; @import "./bar/sys.scss"; @import "./bar/clock.scss"; + @import "./bar/tray.scss"; - .chevron box { +/* .chevron box { border: 2px solid transparent; - } + }*/ /* .inactive { opacity: 0.5; }*/ // HOTFIXES - .scratchpad .reveal_children>*:last-child, +/* .scratchpad .reveal_children>*:last-child, .tray_tab>widget>box>box, .tray_tab .reveal_children>widget:last-child>image { margin-right: -5px; - } + }*/ } diff --git a/de/home/.config/eww/style/bar/tray.scss b/de/home/.config/eww/style/bar/tray.scss index e69de29..1497527 100644 --- a/de/home/.config/eww/style/bar/tray.scss +++ b/de/home/.config/eww/style/bar/tray.scss @@ -0,0 +1,5 @@ +.tray { + margin: 0px 5px; + $module-color: $color2; + @import "./styles/revealer.scss" +}