Files
colorshell/ags/scripts/pywal.ts
T
2025-01-23 14:06:33 -03:00

11 lines
240 B
TypeScript

import { readFile } from "astal";
import { getUserDirs } from "./user";
export class Wal {
public static getColors(): JSON {
return JSON.parse(
readFile(`${getUserDirs().cache}/wal/colors.json`)!
);
}
}