commit cbc9ebad5ac5323a48a77881f109993ccaf1988f parent 14f2edaa778e96ce991985c0bc727a143f9b9329 Author: Chris <chris@echoz.io> Date: Mon, 23 Feb 2026 04:49:18 +0100 refactor(eww): move mic indicator to the top of the screen, make it smaller and give it a background Diffstat:
| M | modules/eww/default.nix | | | 10 | ++++++---- |
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/modules/eww/default.nix b/modules/eww/default.nix @@ -22,7 +22,7 @@ let :stacking "overlay" :focusable "none" :namespace "microphone-indicator" - :geometry (geometry :y "10px" :width "0px" :height "0px" :anchor "bottom center") + :geometry (geometry :y "10px" :width "0px" :height "0px" :anchor "top center") (microphone-indicator)) (deflisten microphone-muted @@ -43,11 +43,13 @@ let pkgs.writeTextDir "/eww.scss" '' .microphone-indicator { color: ${fg}; - font-size: 80px; - min-width: 60px; + font-size: 32px; + min-width: 44px; + min-height: 44px; &.background { - background: transparent; + background: ${style.colors.bg.rgba}; + border-radius: 10px; } } '';