From 8ca95af5b1eb9aecb455d3dffb1cd201b1742b7f Mon Sep 17 00:00:00 2001 From: Franek Date: Fri, 2 May 2025 22:07:36 +0200 Subject: [PATCH] fix: CSS auto-reload logic --- ags/app.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ags/app.ts b/ags/app.ts index 1044852..5f16882 100644 --- a/ags/app.ts +++ b/ags/app.ts @@ -30,11 +30,11 @@ const setupBars = async (monitor_id: number) => { return windows; }; -const STYLES = `${GLib.get_user_config_dir()}/ags/styles`; +const STYLES = `${GLib.get_user_config_dir()}/theme_colors.scss`; const monitorCSS = () => monitorFile( - STYLES + '/colors.scss', + STYLES, () => { - exec(`sass ${STYLES}/style.scss /tmp/ags-style.css`); + exec(`sass ${STYLES} /tmp/ags-style.css`); App.apply_css('/tmp/ags-style.css', true); } );