Files
colorshell/ags/scripts/pywal.ts
T
2025-01-22 13:45:59 -03:00

11 lines
235 B
TypeScript

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