forked from Shinonome/dots-hyprland
generate styles to cache folder when switching themes
This commit is contained in:
@@ -188,9 +188,9 @@ apply_gtk() { # Using gradience-cli
|
||||
}
|
||||
|
||||
apply_ags() {
|
||||
sass "$HOME"/.config/ags/scss/main.scss "$HOME"/.config/ags/style.css
|
||||
sass "$HOME"/.config/ags/scss/main.scss "$HOME"/.cache/ags/user/generated/style.css
|
||||
ags run-js 'openColorScheme.value = true; Utils.timeout(2000, () => openColorScheme.value = false);'
|
||||
ags run-js "App.resetCss(); App.applyCss('${HOME}/.config/ags/style.css');"
|
||||
ags run-js "App.resetCss(); App.applyCss('${HOME}/.cache/ags/user/generated/style.css');"
|
||||
}
|
||||
|
||||
apply_ags &
|
||||
|
||||
Reference in New Issue
Block a user