diff --git a/eww/styles/bar.scss b/eww/styles/bar.scss index f4b8499..1e10301 100644 --- a/eww/styles/bar.scss +++ b/eww/styles/bar.scss @@ -143,15 +143,15 @@ & > box.info { & > label.window-class { - font-size: 10px; + font-size: 9.8px; font-family: monospace; color: darken($color: $foreground, $amount: 20); } & > label.window-title { - margin-top: -2px; - font-size: inherit; + font-size: 12px; color: $foreground; + margin-top: -3px; } } } diff --git a/eww/widgets/bar/window.yuck b/eww/widgets/bar/window.yuck index 689d40e..9786335 100644 --- a/eww/widgets/bar/window.yuck +++ b/eww/widgets/bar/window.yuck @@ -1,27 +1,28 @@ (defwidget window [] - (box :class "window" - :visible { active_window.class == "" || active_window.class == "null" ? false : true } - :vexpand false - :space-evenly false - :orientation "horizontal" + (box :class "window" + :visible { active_window.class == "" || active_window.class == "null" ? false : true } + :space-evenly false + :orientation "horizontal" - (image :class "icon" - :icon "${ active_window.initialClass =~ 'zen-(.*)$' ? 'zen-browser' : active_window.initialClass }" - :icon-size "toolbar") + (image :class "icon" + :icon "${ active_window.initialClass =~ 'zen-(.*)$' ? 'zen-browser' : active_window.initialClass }" + :icon-size "toolbar") - (box :class "info" - :orientation { active_window.title == "" ? "horizontal" : "vertical" } - :space-evenly false - (label :class "window-class" - :text "${active_window.class}" - :xalign 0) - (label :class "window-title" - :text "${active_window.title}" - :visible { active_window.title != "" ? true : false } - :limit-width 45 - :tooltip "${active_window.title}" - :xalign 0) - ) + (box :class "info" + :orientation { active_window.title == "" ? "horizontal" : "vertical" } + :space-evenly false + (label :class "window-class" + :text "${active_window.class}" + :xalign 0 + :yalign 0) + (label :class "window-title" + :text "${active_window.title}" + :visible { active_window.title != "" ? true : false } + :limit-width 45 + :tooltip "${active_window.title}" + :xalign 0 + :yalign 0) ) + ) )