diff --git a/modules/ags/config/style.scss b/modules/ags/config/style.scss index a19299e..96191a3 100644 --- a/modules/ags/config/style.scss +++ b/modules/ags/config/style.scss @@ -8,19 +8,15 @@ window.Bar { color: $ctp-text; >centerbox { - background: $ctp-base; - border-radius: 5px; - margin: 8px; - padding: 8px; + margin: 8px 8px 0 8px; } } -.Time { +.pill { background: $ctp-surface-0; border-radius: 5px; >.icon { - background: $ctp-red; color: $ctp-surface-0; padding: 6px 8px; font-size: 18px; @@ -32,28 +28,24 @@ window.Bar { &.icon-right>.icon { border-radius: 0 5px 5px 0; } + >.label { padding: 0 8px; font-size: 16px; } } -.Workspaces { - background: $ctp-surface-0; - border-radius: 5px; +.Time >.icon { + background: $ctp-red; +} +.Date >.icon { + background: $ctp-lavender; +} + +.Workspaces { >.icon { background: $ctp-blue; - color: $ctp-surface-0; - padding: 6px 8px; - font-size: 18px; - } - - &.icon-left>.icon { - border-radius: 5px 0 0 5px; - } - &.icon-right>.icon { - border-radius: 0 5px 5px 0; } >.labels { @@ -72,22 +64,10 @@ window.Bar { } .Systray { - background: $ctp-surface-0; - border-radius: 5px; - >.icon { background: $ctp-green; - color: $ctp-surface-0; padding: 4px 8px 0 8px; font-size: 20px; - border-radius: 5px 0 0 5px; - } - - &.icon-left>.icon { - border-radius: 5px 0 0 5px; - } - &.icon-right>.icon { - border-radius: 0 5px 5px 0; } >.item { diff --git a/modules/ags/config/widget/Clock.tsx b/modules/ags/config/widget/Clock.tsx index f2f6f85..4029ffa 100644 --- a/modules/ags/config/widget/Clock.tsx +++ b/modules/ags/config/widget/Clock.tsx @@ -6,7 +6,7 @@ export default function Clock(props: { iconSide: "left" | "right" }) { const time = Variable("").poll(1000, () => GLib.DateTime.new_now_local().format(TIME_FORMAT)!) - return + return {props.iconSide == "left" &&