mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
- Add software RGB animations for static-only keyboards (rainbow, color cycle) - Add custom fan curve control via direct sysfs for unsupported laptops - Add real-time system status bar (CPU/GPU temps, fan speeds, power draw) - Add tray icon tooltip with live system stats - Add power profile change notifications (Fn+F5) - Add dGPU status notifications - Add ROG theme with dark palette and accent colors - Add Screenpad, Slash, and SuperGFX page stubs - Improve fan curve graph UI - Various UI refinements and fixes Co-Authored-By: Gemini <noreply@google.com>
129 lines
5.1 KiB
Plaintext
129 lines
5.1 KiB
Plaintext
import { VerticalBox, HorizontalBox, ScrollView } from "std-widgets.slint";
|
|
import { RogPalette } from "../themes/rog_theme.slint";
|
|
|
|
export component PageAbout inherits Rectangle {
|
|
background: RogPalette.background;
|
|
|
|
ScrollView {
|
|
VerticalBox {
|
|
padding: 30px;
|
|
spacing: 20px;
|
|
alignment: center;
|
|
|
|
// Title
|
|
Text {
|
|
horizontal-alignment: center;
|
|
text: "ROG Control Center";
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
color: RogPalette.accent;
|
|
}
|
|
|
|
Text {
|
|
horizontal-alignment: center;
|
|
text: "A modern UI for asusctl built with Slint";
|
|
font-size: 16px;
|
|
color: RogPalette.text-secondary;
|
|
}
|
|
|
|
// Version info
|
|
Rectangle {
|
|
height: 60px;
|
|
background: RogPalette.control-background;
|
|
border-radius: 8px;
|
|
border-width: 1px;
|
|
border-color: RogPalette.control-border;
|
|
|
|
HorizontalBox {
|
|
padding: 15px;
|
|
alignment: center;
|
|
Text {
|
|
text: "Version 6.3.0";
|
|
font-size: 14px;
|
|
color: RogPalette.text-primary;
|
|
}
|
|
Text {
|
|
text: " | ";
|
|
color: RogPalette.text-secondary;
|
|
}
|
|
Text {
|
|
text: "Requires kernel 6.10+";
|
|
font-size: 14px;
|
|
color: RogPalette.text-secondary;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Features section
|
|
Rectangle {
|
|
background: RogPalette.control-background;
|
|
border-radius: 8px;
|
|
border-width: 1px;
|
|
border-color: RogPalette.control-border;
|
|
|
|
VerticalBox {
|
|
padding: 20px;
|
|
spacing: 12px;
|
|
|
|
Text {
|
|
text: "Features";
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: RogPalette.accent;
|
|
}
|
|
|
|
// Completed features
|
|
Text { text: "[x] ROG-themed dark UI"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] System status bar (CPU/GPU temps & fan speeds)"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] Power profile management"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] Aura RGB keyboard lighting"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] AniMe Matrix display"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] Slash LED control"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] Supergfx graphics switching"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] Screenpad brightness & gamma"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] Custom fan curves"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] Desktop notifications (KDE OSD)"; color: RogPalette.text-primary; font-size: 13px; }
|
|
Text { text: "[x] System tray integration"; color: RogPalette.text-primary; font-size: 13px; }
|
|
|
|
// Pending features
|
|
Rectangle { height: 10px; }
|
|
Text { text: "Planned:"; font-size: 14px; font-weight: 600; color: RogPalette.text-secondary; }
|
|
Text { text: "[ ] ROG Ally specific settings"; color: RogPalette.text-secondary; font-size: 13px; }
|
|
Text { text: "[ ] Advanced Aura zone editing"; color: RogPalette.text-secondary; font-size: 13px; }
|
|
}
|
|
}
|
|
|
|
// Credits
|
|
Rectangle {
|
|
background: RogPalette.control-background;
|
|
border-radius: 8px;
|
|
border-width: 1px;
|
|
border-color: RogPalette.control-border;
|
|
|
|
VerticalBox {
|
|
padding: 20px;
|
|
spacing: 8px;
|
|
|
|
Text {
|
|
text: "Credits";
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: RogPalette.accent;
|
|
}
|
|
|
|
Text {
|
|
text: "asusctl & asusd by Luke Jones";
|
|
font-size: 13px;
|
|
color: RogPalette.text-primary;
|
|
}
|
|
Text {
|
|
text: "UI built with Slint";
|
|
font-size: 13px;
|
|
color: RogPalette.text-secondary;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|