ags: optimizations, add media and separator widgets

This commit is contained in:
retrozinndev
2025-01-23 14:06:33 -03:00
parent b533e830a0
commit 017619f62b
9 changed files with 151 additions and 31 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
import { readFile } from "astal";
import { getUserDirs } from "./user";
export abstract class Wal {
getColors(): JSON {
export class Wal {
public static getColors(): JSON {
return JSON.parse(
readFile(`${getUserDirs().cache}/wal/colors.json`)!
);