Add AGS notification, quick settings, and sysmonitor widgets

This commit is contained in:
2026-07-03 16:14:36 -04:00
parent 91d8d5f84b
commit 1fe518ff2b
8 changed files with 1141 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
import app from "ags/gtk3/app"
import { execAsync } from "ags/process"
export function sh(command: string) {
return execAsync(["bash", "-c", command]).catch((error) => {
console.error(error)
return ""
})
}
export function shell(command: string): string[] {
return ["bash", "-c", command]
}
export function toggleWindow(name: string) {
app.toggle_window(name)
}