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

[Issue] When changing Color Scheme Styles no changes in ags but the script is working.

Open Ghanshyam-shaktawat opened this issue 1 year ago • 8 comments

  • I have read the Usage and the Troubleshooting pages of the wiki
  • I have made sure that both my config and system packages are up to date
  • Arch Linux:

The issue

Suddenly today when i tried changing the color scheme style there are no changes in ags and its modules side side bar , etc. Even if i try changing transparency or dark mode from color scheme widget there are no changes in ags. I know its working as in my terminal with fish shell, i can see theme being applied on the shell as its changing color scheme style.

I see no errors when running ags in terminal. I tried changing wallpaper but there is no effect in ags. I dunno what i did which break ags to not change color. I am on the latest commnet. Everything was fine in the morning. I did maybe update some python package like material color, etc but i did them clean build. And there is no error in the terminal too.

Let me know if any more information needed.

The only output in my log when running ags Click to expand
Gjs-Console-Message: 20:28:44.183: [LOG] Styles loaded

Ghanshyam-shaktawat avatar May 20 '24 14:05 Ghanshyam-shaktawat

Ok, with further digging i found out that in ags, the file scss/_material.scss is not updating. When i changed the value of dark mode to off or on, the value in __material.scss is still true. Its like nothing is changing in the file.

Ghanshyam-shaktawat avatar May 20 '24 15:05 Ghanshyam-shaktawat

that material file is in ~/.local/state/ags/scss/_material.scss actually ~/.config/ags/scss/fallback/_material.scss is just a fallback

can you send logs of ~/.config/ags/scripts/color_generation/switchwall.sh --noswitch

end-4 avatar May 20 '24 15:05 end-4

that material file is in ~/.local/state/ags/scss/_material.scss actually ~/.config/ags/scss/fallback/_material.scss is just a fallback

can you send logs of ~/.config/ags/scripts/color_generation/switchwall.sh --noswitch

The log for switchwall.sh is clear. there is no error.

here's the log:

undefined
[Gradience] INFO: Preset Material3_Generated applied successfully for Gtk 3 and Gtk 4 applications.
[Gradience] INFO: In order for changes to take full effect, you need to log out.
undefined
applied

Ghanshyam-shaktawat avatar May 20 '24 16:05 Ghanshyam-shaktawat

I fixed it. I just replaced my ags config with your and it fixed the issue. Propably when moving to the https://github.com/end-4/dots-hyprland/commit/44988b0e052bdb0c5ef1c555bef062f391f55487 commit i must have messed up naming somewhere. I usually costomize a lot of stuff so its on my bad. Sorry for the trouble and thanks, I think its fixed now.

Ghanshyam-shaktawat avatar May 20 '24 17:05 Ghanshyam-shaktawat

#524

H0mire avatar May 20 '24 18:05 H0mire

Just updated dotfiles via update-dots.sh, now having the same issue.

Roverp1 avatar Jun 07 '24 07:06 Roverp1

I just replaced my ags config with your and it fixed the issue.

Tried this, it does not work for me(

Roverp1 avatar Jun 07 '24 08:06 Roverp1

same is here( How to fix?

nullptroma avatar Jul 23 '24 20:07 nullptroma

This should be fine now at the latest version. See also troubleshooting.

clsty avatar Feb 07 '25 05:02 clsty