snowflake/home/ags/config/config.js

22 lines
458 B
JavaScript
Raw Normal View History

import { App, Utils } from "./import.js";
import { Bar } from "./js/main.js";
2023-11-28 12:43:33 -05:00
const scss = App.configDir + "/main.scss";
const css = App.configDir + "/style.css";
2023-11-28 12:43:33 -05:00
2024-01-01 21:29:18 -05:00
Utils.exec(`sass ${scss} ${css}`);
function reloadCss() {
2024-02-01 17:48:30 -05:00
console.log("scss updating");
Utils.exec(`sass ${scss} ${css}`);
App.resetCss();
App.applyCss(css);
2024-01-01 21:29:18 -05:00
}
Utils.monitorFile(`${App.configDir}/scss`, reloadCss, "directory");
export default {
2024-02-01 17:48:30 -05:00
style: css,
windows: [Bar(2)]
};