Add AGS notification, quick settings, and sysmonitor widgets
This commit is contained in:
1 parent
91d8d5f84b
commit
1fe518ff2b
8 files changed
+1141
-3
No files matched your search
@@ -15,7 +15,7 @@ export default function Media(gdkmonitor: Gdk.Monitor) {
|
||||
status: "Stopped",
|
||||
length: 0,
|
||||
position: 0
|
||||
}, 1000, pollCmd, (stdout) => {
|
||||
}, 1000, ["bash", "-c", pollCmd], (stdout) => {
|
||||
const parts = stdout.split("|||");
|
||||
const title = parts[0]?.trim() || "No Media";
|
||||
const artist = parts[1]?.trim() || "";
|
||||
|
||||
Reference in new issue
Block a user