savely-krasovsky / waybar-updates

Tiny Waybar module to check Arch Linux updates from official repositories and AUR.
https://aur.archlinux.org/packages/waybar-updates
MIT License
29 stars 8 forks source link

Icons no longer showing in the waybar #31

Closed Licensed-Idiot closed 1 day ago

Licensed-Idiot commented 5 days ago

The waybar-updates module no longer shows up in waybar, not sure why this is happening all of a sudden, here's what the config looks like,

"modules-left": ["sway/workspaces", "custom/updates", "tray", "sway/mode"],

  "custom/updates": {
    "format": "{icon}{}",
    "return-type": "json",
    "format-icons": {
      "pending-updates": "󰮯 ",
      "updated": ""
    },
    "exec-if": "which waybar-updates",
    "exec": "waybar-updates"
},
@keyframes blink {
  to {
    color: #ebdbb2;
  }

#custom-updates {
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
#custom-updates.pending-updates {
    animation-name: blink;
    animation-duration: 3s;
}
Saligz commented 4 days ago

same here [2024-09-13 12:17:56.792] [error] custom/pacman: cannot switch from manual to automatic argument indexing

savely-krasovsky commented 4 days ago

To be clear: I didn't release any new update.

vocatart commented 4 days ago

same here [2024-09-13 12:17:56.792] [error] custom/pacman: cannot switch from manual to automatic argument indexing

having the same issue

savely-krasovsky commented 4 days ago

It's regression in Waybar v0.11.0: https://github.com/Alexays/Waybar/issues/3597 Temporary fix is to downgrade Waybar.

savely-krasovsky commented 2 days ago

It was kinda fixed, but it seems the problem persist, so I am linking the new issue: https://github.com/Alexays/Waybar/issues/3607

prfiredragon commented 2 days ago

I don't know why. I have the same problem with updates and media player. I change the order like that

"format": "{} {icon}", and the icons and Text show up again.

20240915_14h35m42s_grim

20240915_14h34m52s_grim 20240915_14h34m59s_grim

prfiredragon commented 2 days ago

If i switch it back the problem returns. For the test I only switch the media player.

20240915_14h37m26s_grim

vocatart commented 2 days ago

I don't know why. I have the same problem with updates and media player. I change the order like that

"format": "{} {icon}", and the icons and Text show up again.

20240915_14h35m42s_grim

20240915_14h34m52s_grim 20240915_14h34m59s_grim

just tried swapping the arguments as well and seems to have fixed it. weird.

savely-krasovsky commented 1 day ago

Please update to the latest 0.11.0-3 (and optionally restore order), it should work as previously.