This commit is contained in:
wt
2025-03-10 23:12:07 +07:00
parent 8f5ad70ed3
commit 8ee6cd6b0e
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ window.Bar {
}
.Storage {
padding: 0 5px;
padding: 0 15px 0 5px;
}
.Focused {
+1 -1
View File
@@ -33,7 +33,7 @@ export default function Bar(gdkmonitor: Gdk.Monitor) {
<Cpu />
<Ram />
<Storage />
<FocusedClient />
{/*<FocusedClient />*/}
</box>
<box hexpand halign={Gtk.Align.CENTER} className="RoudedBlock">
<Workspaces />
+1
View File
@@ -3,6 +3,7 @@ import Battery from "gi://AstalBattery"
export default function BatteryLevel() {
const bat = Battery.get_default()
console.log(bat.charging, bat.capacity, bat.energyFull, bat.energy_full_design)
return <box className="Battery"
visible={bind(bat, "isPresent")}>
+1 -1
View File
@@ -12,4 +12,4 @@ export default function FocusedClient() {
client && <label label={bind(client, "title").as(String)} />
))}
</box>
}
}