Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

waybar-updates

Open cjmcguire88 opened this issue 1 year ago • 3 comments

[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

cjmcguire88 avatar Aug 17 '24 13:08 cjmcguire88

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 avatar Aug 17 '24 13:08 RobertMueller2

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

RobertMueller2 avatar Aug 17 '24 13:08 RobertMueller2

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

cjmcguire88 avatar Aug 17 '24 14:08 cjmcguire88