From af84b038cf61e2f90a112d2b78027efdbc7c685d Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Wed, 31 Jan 2024 14:53:52 -0500 Subject: [PATCH] fix(eww): style bar Signed-off-by: Lucas Sta Maria --- .config/eww/eww.scss | 12 +++++++++++- .config/eww/eww.yuck | 4 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.config/eww/eww.scss b/.config/eww/eww.scss index be782fa..8f46d2a 100644 --- a/.config/eww/eww.scss +++ b/.config/eww/eww.scss @@ -57,6 +57,16 @@ scale trough { font-size: 15px; } +.button__container { + padding-left: 7px; + padding-right: 7px; + border-radius: 5px; +} + +.button__container:hover { + background-color: hsla(210, 25%, 25%, 0.3); +} + .player { color: #e5e1cf; } @@ -109,7 +119,7 @@ scale trough { } .timedate__button { - padding: 3px 9px; + padding: 3px 6gpx; border-radius: 5px; } diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck index 00945c6..a9a96c8 100644 --- a/.config/eww/eww.yuck +++ b/.config/eww/eww.yuck @@ -117,7 +117,7 @@ :halign "end" :valign "center" :space-evenly "false" - :spacing 10 + :spacing 5 (literal :content {autosus}) (weather) (wifi) @@ -138,6 +138,7 @@ (defwidget bluetooth [] (button :onclick "scripts/bluetoothpanel" + :class "button__container" (icon-module :class "bluetooth" :icon "ᛒ" :visible true @@ -178,6 +179,7 @@ ;; A widget for tracking battery (defwidget power [] (button :onclick "scripts/powernotify" + :class "button__container" (icon-module :class "power" :icon "⏻" :visible true