dots-hyprland
dots-hyprland copied to clipboard
[Issue]ags load _material from config dir instead of state dir
When I use switchwall.sh, I found /home/ventus/.local/state/ags/scss/_material.scss is correct, but ags still load the scss from .config folder, instead of .local/state folder. I should edit something in init.js? I tried but doesn't work. Now I edited colorgen.sh and applycolor.sh to copy _material.scss to the .config folder. But this should be only a temporary solution, anyone can help?
By the way, when I dig the code, I found that, when I run these code in `applycolor.sh':
apply_ags() {
ags run-js "handleStyles(false);"
ags run-js 'openColorScheme.value = true; Utils.timeout(2000, () => openColorScheme.value = false);'
}
I only got these in tty
undefined
undefined
I try to run them directly in tty, I also got same result. Does it matter?
When I use switchwall.sh, I found /home/ventus/.local/state/ags/scss/_material.scss is correct, but ags still load the scss from .config folder, instead of .local/state folder. I should edit something in init.js? I tried but doesn't work. Now I edited colorgen.sh and applycolor.sh to copy _material.scss to the .config folder. But this should be only a temporary solution, anyone can help?
By the way, when I dig the code, I found that, when I run these code in `applycolor.sh':
apply_ags() { ags run-js "handleStyles(false);" ags run-js 'openColorScheme.value = true; Utils.timeout(2000, () => openColorScheme.value = false);' }I only got these in tty
undefined undefinedI try to run them directly in tty, I also got same result. Does it matter?
issues are being ignored :)
Closing due to inactivity. Feel free to reopen if problem still persists.