Properly fix live CSS reloading & remove deprecated colors in Hyprlock
This commit is contained in:
@ -30,9 +30,11 @@ const setupBars = async (monitor_id: number) => {
|
||||
return windows;
|
||||
};
|
||||
|
||||
const STYLES = `${GLib.get_user_config_dir()}/theme_colors.scss`;
|
||||
const STYLES = GLib.get_user_config_dir() + "/ags/styles/style.scss";
|
||||
const THEME_COLORS_PATH = GLib.get_user_config_dir() + "/theme_colors.scss";
|
||||
|
||||
const monitorCSS = () => monitorFile(
|
||||
STYLES,
|
||||
THEME_COLORS_PATH,
|
||||
() => {
|
||||
exec(`sass ${STYLES} /tmp/ags-style.css`);
|
||||
App.apply_css('/tmp/ags-style.css', true);
|
||||
|
Reference in New Issue
Block a user