loqusion / hyprshade

Hyprland shader configuration tool
MIT License
222 stars 7 forks source link

Toggling a shader fails with....a lot of errors #1

Closed kaii-lb closed 11 months ago

kaii-lb commented 11 months ago

As stated in the title, toggling a shader doesn't work and fails with a wall of text. Turning them off or on manually however, works perfectly fine (aka hyprshade on shader | hyprshade off).

Here's the output: https://pastebin.com/p66E7Uyq

I tried every possible way to build/install hyprshade so its not a version issue

loqusion commented 11 months ago

hyprshade toggle currently requires you to have a config file, which is a mistake on my part — it shouldn't be needed if you provide an argument. I should also make the error message more concise.

loqusion commented 11 months ago

Should be fixed in v0.8.1 — try the package from PyPI or hyprshade-git on the aur.

kaii-lb commented 11 months ago

I should also make the error message more concise

i thought that it couldn't find the config directory which is why i was so confused.

But now it seems theres another issue, the new hyprland release (v0.28) changed how hyprctl -j works. It now adds adding <command> infront of the json output which breaks jq it seems. i'll submit a hacky-ass change that fixes it in a bit.

loqusion commented 11 months ago

Fixed by d0aebc6.