Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
3143dbc
chore: split slint into multiple files
luytan Aug 18, 2026
d4ddea6
fix: prevent sidebar from taking all the space
luytan Aug 19, 2026
ae1aa50
chore: add fontconfig
luytan Aug 19, 2026
2555ae4
fix: slint issue
luytan Aug 19, 2026
037186e
feat: re-order power and remove system tuning
luytan Aug 19, 2026
3c7d812
chore: switch rending to skia
luytan Aug 19, 2026
a74a536
feat: implement home page
luytan Aug 19, 2026
ce8c513
feat: add part of system telemetry
luytan Aug 19, 2026
7724c73
feat: use a real font
luytan Aug 19, 2026
05efd12
feat: add hardware name
luytan Aug 19, 2026
b95a36b
feat: add graph
luytan Aug 19, 2026
7979716
feat: custom toast, asusd struct and error and more events
luytan Aug 19, 2026
756c443
fix: place the toast at the bottom
luytan Aug 20, 2026
44ffef0
feat: boot sound and panel overdrive
luytan Aug 20, 2026
7b23853
chore: move .slint to the right place
luytan Aug 20, 2026
78326de
chore: move callback to asus armoury and remove battery
luytan Aug 20, 2026
ba8ca2a
feat: add startup function for populating attr
luytan Aug 20, 2026
18f90c2
feat: add ppt and hide unsupported properties
luytan Aug 20, 2026
cfdc7df
chore: remove readme
luytan Aug 20, 2026
50de293
ci: add new deps
luytan Aug 20, 2026
96b6fa3
chore: remove old slint files
luytan Aug 20, 2026
20f86d1
cI: add libskia-dev
luytan Aug 21, 2026
ca00e18
ci: libskia-dev is only available on ubuntu and debian-sid
luytan Aug 21, 2026
38071fe
ci: add curl
luytan Aug 21, 2026
df8edbe
Merge branch 'rogcc-redesign' into redesign-home-page
luytan Aug 21, 2026
3ede85c
fix(rog-control-center): add missing pub mod startup
luytan Aug 21, 2026
ba8fc55
Merge branch 'rogcc-redesign' (ogc main merged) into redesign-home-page
luytan Aug 22, 2026
1cc2cf6
chore: drop uhid-virt and remove simulator from workspace
luytan Aug 22, 2026
7d76ac2
chore(rog-control-center): fix clippy issues
luytan Aug 22, 2026
f4e6faf
feat: add dependencies to nix flake
luytan Aug 22, 2026
4036df1
feat(rog-control-center): replace custom tray with built-in slint tray
luytan Aug 22, 2026
1a4b89a
chore(rog-control-center): move helpers to src root, and move zbus fi…
luytan Aug 22, 2026
17f292e
feat: add slint-lsp
luytan Aug 22, 2026
1b85f6b
style(rog-control-center): format .slint files
luytan Aug 22, 2026
1c0e2a4
chore: remove hardcoded path
luytan Aug 22, 2026
695d404
feat(rog-control-center): show window on tray click
luytan Aug 22, 2026
966357e
fix(rog-control-center): show the window after pre-startup task
luytan Aug 22, 2026
fe307f7
feat(rog-control-center): move startup to helper and populate asus_ar…
luytan Aug 22, 2026
dd99c21
fix(rog-control-center): forgot a ! in is_armoury_loaded
luytan Aug 22, 2026
9e66efb
feat(rog-control-center): add a background task for armoury attr and …
luytan Aug 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 26 additions & 129 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ members = [
"rog-profiles",
"rog-control-center",
"rog-slash",
"simulators",
"rog-scsi",
]

Expand All @@ -47,7 +46,6 @@ gif = "^0.14.2"
glam = { version = "^0.33.5", features = ["serde"] }
image = "=0.25.10"
inotify = "^0.11.5"
ksni = { version = "^0.3.6", default-features = false, features = ["async-io"] }
libc = "^0.2.189"
log = "^0.4.33"
logind-zbus = { version = "^5.3.2" }
Expand All @@ -68,7 +66,8 @@ slint = { version = "^1.17.1", default-features = false, features = [
"compat-1-2",
"gettext",
"backend-winit-wayland",
"renderer-femtovg",
"renderer-skia",
"system-tray",
] }
slint-build = "=1.17.1"
thiserror = "^2.0.20"
Expand All @@ -80,7 +79,6 @@ tokio = { version = "^1.53.1", default-features = false, features = [
"rt-multi-thread",
] }
udev = { version = "^0.9.3", features = ["mio"] }
uhid-virt = "^0.0.8"
zbus = "^5.19.0"

[profile.release]
Expand Down
12 changes: 9 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
system:
let
tc = (fenixpkgs system).toolchainOf {
channel = "1.85.0";
sha256 = "sha256-AJ6LX/Q/Er9kS15bn9iflkUwcgYqRQxiOIL2ToVAXaU=";
channel = "1.93.0";
sha256 = "sha256-vra6TkHITpwRyA5oBKAHSX0Mi6CBDNQD+ryPSpxFsfg=";
};
in
(fenixpkgs system).combine [
Expand All @@ -43,7 +43,9 @@
(pkgs system).clang
(pkgs system).SDL2
(pkgs system).cargo-cranky
(pkgs system).eslint
(pkgs system).fontconfig
(pkgs system).freetype
(pkgs system).slint-lsp
];
LD_LIBRARY_PATH = (pkgs system).lib.makeLibraryPath [
(pkgs system).wayland
Expand All @@ -56,6 +58,10 @@
(pkgs system).egl-wayland
(pkgs system).egl-x11
(pkgs system).libglvnd
(pkgs system).llvmPackages.libclang.lib
(pkgs system).stdenv.cc.cc.lib
(pkgs system).fontconfig
(pkgs system).freetype
];
LIBCLANG_PATH = "${(pkgs system).llvmPackages.libclang.lib}/lib";
RUST_SRC_PATH = "${toolchainFor system}/lib/rustlib/src/rust/library";
Expand Down
1 change: 0 additions & 1 deletion rog-control-center/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ rog_ally = []
[dependencies]
console-subscriber = { workspace = true, optional = true }

ksni.workspace = true
image.workspace = true
ashpd.workspace = true

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{fs, io, path::Path};

use crate::ui::helpers::types::BatteryInfo;
use crate::helpers::types::{BatteryInfo, CpuTelemetry};
use anyhow::Result;

pub fn get_dmi_product_name() -> io::Result<String> {
Expand Down Expand Up @@ -49,3 +49,15 @@ pub fn calculate_cpu_usage(
}
0.0
}

pub fn get_current_ram() -> f32 {
rog_platform::cpu::get_ram_usage_pct()
}

pub fn get_cpu_telemetry() -> CpuTelemetry {
CpuTelemetry {
temp: rog_platform::cpu::get_cpu_temp(),
freq_mhz: rog_platform::cpu::get_cpu_frequency_mhz(),
usage_pct: 99.99,
}
}
4 changes: 4 additions & 0 deletions rog-control-center/src/helpers/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pub mod hardware;
pub mod startup;
pub mod types;
pub mod zbus_proxies;
Loading