update
This commit is contained in:
1 parent
8f5ad70ed3
commit
8ee6cd6b0e
3 files changed
+3
-2
No files matched your search
+1
-1
@@ -75,7 +75,7 @@ window.Bar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.Storage {
|
.Storage {
|
||||||
padding: 0 5px;
|
padding: 0 15px 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Focused {
|
.Focused {
|
||||||
|
|||||||
+1
-1
@@ -33,7 +33,7 @@ export default function Bar(gdkmonitor: Gdk.Monitor) {
|
|||||||
<Cpu />
|
<Cpu />
|
||||||
<Ram />
|
<Ram />
|
||||||
<Storage />
|
<Storage />
|
||||||
<FocusedClient />
|
{/*<FocusedClient />*/}
|
||||||
</box>
|
</box>
|
||||||
<box hexpand halign={Gtk.Align.CENTER} className="RoudedBlock">
|
<box hexpand halign={Gtk.Align.CENTER} className="RoudedBlock">
|
||||||
<Workspaces />
|
<Workspaces />
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import Battery from "gi://AstalBattery"
|
|||||||
|
|
||||||
export default function BatteryLevel() {
|
export default function BatteryLevel() {
|
||||||
const bat = Battery.get_default()
|
const bat = Battery.get_default()
|
||||||
|
console.log(bat.charging, bat.capacity, bat.energyFull, bat.energy_full_design)
|
||||||
|
|
||||||
return <box className="Battery"
|
return <box className="Battery"
|
||||||
visible={bind(bat, "isPresent")}>
|
visible={bind(bat, "isPresent")}>
|
||||||
|
|||||||
Reference in new issue
Block a user