adding cpu and memory to ags
This commit is contained in:
parent
1d1ab2a308
commit
e727f4afa1
3 changed files with 143 additions and 0 deletions
|
@ -6,6 +6,7 @@ const audio = await Service.import('audio')
|
|||
|
||||
import { NotificationPopups } from "./notifications.js"
|
||||
import { BatteryPopup } from "./battery.js"
|
||||
import { cpuProgress, ramProgress } from "./cpu.js"
|
||||
|
||||
const laptop = Utils.exec(`hostname`) === "syl";
|
||||
// const display = Gdk.Display.get_default();
|
||||
|
@ -165,6 +166,8 @@ function Bar(monitor = 0) {
|
|||
css: "margin-right: 1em;",
|
||||
children: [
|
||||
expander,
|
||||
ramProgress,
|
||||
cpuProgress,
|
||||
volume_indicator,
|
||||
system_tray(),
|
||||
laptop ? battery_function() : null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue