[AGS] GTK 4 Migration: Done, Start adding QuickActions

Probably gonna abandon the QuickActions, as that is just way too much
effort for what it does. Will be providing keybinds for doing what I
wanted to do there in Hyprland
This commit is contained in:
2025-04-22 15:30:41 +02:00
parent 8b70f80e60
commit 8a2180e120
19 changed files with 678 additions and 200 deletions

View File

@@ -18,7 +18,6 @@ const featureTest = () => {
printerr( '[ SysInfo ] Feature Test for CPU info failed. mpstat from the sysstat package missing!' );
}
// Screen brightness... CTL might be available, but no screen controllable
// Battery... acpi might be present, but potentially no bat
}
@@ -28,8 +27,6 @@ const availableFeatures = {
cpu: true,
ram: true,
bat: true,
net: false,
brightness: true,
}
const sysInfoFetcher = () => {
@@ -44,17 +41,10 @@ const sysInfoFetcher = () => {
const acpi = exec( `acpi -i | grep 'Battery'` );
// TODO: Parse acpi output
}
// if ( availableFeatures.net ) {
// // Using ifstat or vnstat probably, get current network de
// }
if ( availableFeatures.brightness ) {
}
}
}
const SystemInfo = () => {
return <box></box>
}