dots-hyprland icon indicating copy to clipboard operation
dots-hyprland copied to clipboard

[Issue]ags load _material from config dir instead of state dir

Open lVentus opened this issue 1 year ago • 1 comments

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?

lVentus avatar Jun 14 '24 12:06 lVentus

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?

issues are being ignored :)

D3B-0x0 avatar Jun 16 '24 05:06 D3B-0x0

Closing due to inactivity. Feel free to reopen if problem still persists.

clsty avatar Feb 08 '25 10:02 clsty