diff --git a/ags/styles/components/_bar.scss b/ags/styles/components/_bar.scss
index f8669b7..c0f62a2 100644
--- a/ags/styles/components/_bar.scss
+++ b/ags/styles/components/_bar.scss
@@ -1,10 +1,18 @@
@use '../theme_colors.scss' as *;
window.bar {
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
background: color-mix(in srgb, $base00, transparent 15%);
- margin: 0;
+
+ >box {
+ padding: 0.25rem 0;
+ }
+
+ >box>*:not(box), >box>box>* {
+ margin: 0 0.25rem;
+ padding: 0 0.5rem;
+ background: $base01;
+ border-radius: 1rem;
+ }
* {
color: $base0A;
@@ -17,7 +25,6 @@ window.bar {
.tray .item {
padding: 0;
margin: 0;
- background: transparent;
image {
padding: 0;
diff --git a/ags/styles/components/_battery_info.scss b/ags/styles/components/_battery_info.scss
index d2b7a09..ca14810 100644
--- a/ags/styles/components/_battery_info.scss
+++ b/ags/styles/components/_battery_info.scss
@@ -33,24 +33,20 @@ window.battery_info {
window.battery_info button {
transition: all 0.2s ease-in-out;
- background: color-mix(in srgb, $base00, transparent 15%);
+ background: $base00;
border: 2px solid $base01;
margin: 5px;
&:hover {
background: $base01;
-
- * {
- color: $base0A;
- }
}
&.active {
- background: $base01;
- border: 2px solid $base00;
+ background: $base0A;
+ border: 0.5px solid $base00;
* {
- color: $base0A;
+ color: $base01;
}
}
}
diff --git a/ags/widget/bar/bar.tsx b/ags/widget/bar/bar.tsx
index 23e675a..9c37124 100644
--- a/ags/widget/bar/bar.tsx
+++ b/ags/widget/bar/bar.tsx
@@ -28,19 +28,21 @@ export default function Bar(monitor_id: number) {
hexpand
>
- {Workspace()}
+ {Workspace()}
- {BatteryInfo({ battery })}
+
+
{NetworkInfo()}
+ {BatteryInfo({ battery })}
{TrayView()}
diff --git a/ags/widget/bar/components/network_info.tsx b/ags/widget/bar/components/network_info.tsx
index 5d0b172..605a8ec 100644
--- a/ags/widget/bar/components/network_info.tsx
+++ b/ags/widget/bar/components/network_info.tsx
@@ -69,11 +69,11 @@ export default function NetworkInfo() {
const dataBinding = bind(networkUsage);
const binding = bind(currentConn);
- return binding.as(Boolean) ?
+ return binding.as(Boolean) ? <>
{binding.as(getConnection).as(data => data && )}
{dataBinding.as(data => <>
>)}
- :
+ > :
}