[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:
@@ -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>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user