eww bar spacing

This commit is contained in:
Penelope Gwen 2026-04-07 18:18:55 -07:00
parent f91e9ee8af
commit 9cae18e0d2
3 changed files with 7 additions and 7 deletions

View file

@ -22,7 +22,7 @@ $bar-module-hover-shadow: 1px 1px 4px rgba($color8,0.45),-1px 1px 4px rgba($colo
$bar-hover-bg-color: rgba($color1,0.5); $bar-hover-bg-color: rgba($color1,0.5);
$bar-hover-fg-color: rgba($color13,0.6); $bar-hover-fg-color: rgba($color13,0.6);
//$bar-module-border-radius: 8px; //$bar-module-border-radius: 8px;
$bar-module-border-radius: 12px; $bar-module-border-radius: 25px;
$bar-module-bg-border-radius: $bar-module-border-radius - 3; $bar-module-bg-border-radius: $bar-module-border-radius - 3;
//$bar-module-inner-radius: $bar-module-border-radius - 2; //$bar-module-inner-radius: $bar-module-border-radius - 2;
$bar-module-inner-radius: $bar-module-border-radius - 6; $bar-module-inner-radius: $bar-module-border-radius - 6;

View file

@ -6,13 +6,13 @@
:namespace "eww-bar" :namespace "eww-bar"
:geometry (geometry :x "0%" :geometry (geometry :x "0%"
; :y "0%" ; :y "0%"
:y "5px" :y "100px"
:width "100%" :width "100%"
:height "30px" :height "50px"
; :anchor "top") ; :anchor "top")
:anchor "top center") :anchor "top center")
; :reserve (struts :side "top" :distance "4%") ; :reserve (struts :side "top" :distance "4%")
:reserve (struts :side "top" :distance "30px") :reserve (struts :side "top" :distance "150px")
(bar)) (bar))
(include "modules/home.yuck") (include "modules/home.yuck")

View file

@ -4,7 +4,7 @@ $transition-time: 0.3s;
.bar.horizontal { .bar.horizontal {
font-size: 1.05em; font-size: 1.05em;
padding: 6px; padding: 6px;
margin: 4px 10px; margin: 15px 10px 4px 10px;
background-color: rgba(mix($bar-bg-color, $color0, 65%), 0.4); background-color: rgba(mix($bar-bg-color, $color0, 65%), 0.4);
// background-color: rgba($bar-bg-color, 0.2); // background-color: rgba($bar-bg-color, 0.2);
border-radius: $bar-module-border-radius; border-radius: $bar-module-border-radius;