snowflake/home/ags/config/config.js
2024-02-01 17:48:30 -05:00

21 lines
458 B
JavaScript

import { App, Utils } from "./import.js";
import { Bar } from "./js/main.js";
const scss = App.configDir + "/main.scss";
const css = App.configDir + "/style.css";
Utils.exec(`sass ${scss} ${css}`);
function reloadCss() {
console.log("scss updating");
Utils.exec(`sass ${scss} ${css}`);
App.resetCss();
App.applyCss(css);
}
Utils.monitorFile(`${App.configDir}/scss`, reloadCss, "directory");
export default {
style: css,
windows: [Bar(2)]
};