From 184494d92746e01ba5ef9b1d6341d5aa38be72c0 Mon Sep 17 00:00:00 2001 From: Joshua Yuen Date: Sat, 12 Sep 2026 16:18:18 -0400 Subject: [PATCH] Polish bar spacing and clock module with custom clock icon --- modules/home/ags/app/style.scss | 18 ++++++++++++------ modules/home/ags/app/widget/Clock.tsx | 7 ++++++- modules/home/ags/default.nix | 10 ++++++++++ 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/modules/home/ags/app/style.scss b/modules/home/ags/app/style.scss index 1359db9..a45d4aa 100644 --- a/modules/home/ags/app/style.scss +++ b/modules/home/ags/app/style.scss @@ -43,7 +43,7 @@ $module-bg: transparentize($base02, 0.4); .bar .end, .bar .last { background: $module-bg; - padding: 0 10px; + padding: 2px 10px; &:hover { background: $base03; @@ -57,12 +57,12 @@ $module-bg: transparentize($base02, 0.4); .bar .center { border-radius: $radius; - margin: 0 2px; + margin: 2px; } .bar .end { border-radius: ($radius * 0.75) ($radius * 2) ($radius * 0.75) ($radius * 2); - margin: 0 2px; + margin: 2px; } .bar .last { @@ -79,6 +79,10 @@ $module-bg: transparentize($base02, 0.4); font-weight: bold; } +.clock icon { + font-size: 12px; +} + .ws { min-width: 20px; border-radius: 6px; @@ -95,10 +99,12 @@ $module-bg: transparentize($base02, 0.4); background: transparentize($base05, 0.88); } -.quicksettings icon, +.quicksettings icon { + font-size: 12px; +} + .wifi icon, -.wifi-header icon, -.battery icon { +.wifi-header icon { font-size: 16px; } diff --git a/modules/home/ags/app/widget/Clock.tsx b/modules/home/ags/app/widget/Clock.tsx index e6b0f83..4074109 100644 --- a/modules/home/ags/app/widget/Clock.tsx +++ b/modules/home/ags/app/widget/Clock.tsx @@ -8,5 +8,10 @@ const time = Variable("").poll(1000, () => { }) export default function Clock() { - return