Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.28k stars 689 forks source link

waybar-updates #3525

Open cjmcguire88 opened 3 weeks ago

cjmcguire88 commented 3 weeks ago

[2024-08-17 09:00:54.165] [error] custom/pacman: Error parsing JSON: * Line 1, Column 1 Syntax error: value, object or array expected.

I'm assuming whatever is being returned by waybar-updates is not being interpreted correctly.

waybar config: "custom/pacman": { "format": "{icon}", "return-type": "json", "format-icons": { "pending-updates": "", "updated": "" }, "on-click": "kitty pacwrap", "exec-if": "which waybar-updates", "exec": "waybar-updates" }

waybar-updates config section: interval=6 cycles_number=600 packages_limit=10 devel=true notify=true

RobertMueller2 commented 3 weeks ago

At least there does not seem to be an issue with the waybar config as such, so I think it's a valid guess. But waybar-updates is a separate repository here: https://github.com/savely-krasovsky/waybar-updates . I think that's where you should ask.

RobertMueller2 commented 3 weeks ago

Out of curiosity, have you tried to run waybar-updates in a terminal? Does it look like valid json?

cjmcguire88 commented 3 weeks ago

I just noticed that waybar-updates was a separate package. Apologies. Feel free to close.