snowflake/home/ags/config/config.js

25 lines
481 B
JavaScript
Raw Normal View History

2024-01-01 21:29:18 -05:00
import { App, Utils } from './import.js';
import { Bar } from './js/main.js'
2023-11-28 12:43:33 -05:00
2024-01-01 21:29:18 -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() {
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)
]
}