coffebar / waybar-module-pacman-updates

waybar module for Arch to show system updates available
GNU General Public License v3.0
51 stars 4 forks source link

It doesn't show updates when `--network-interval-seconds` has a big number #11

Closed c02y closed 3 months ago

c02y commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  "custom/updates": {
    "format": " {icon} {}",
    "return-type": "json",
    "format-icons": {
      "has-updates": "",
      "updated": ""
    },
    "exec-if": "which waybar-module-pacman-updates",
    "exec": "waybar-module-pacman-updates  --interval-seconds 5 --network-interval-seconds 86400"
  },

When I change --network-interval-seconds 86400 to --network-interval-seconds 300 like the number in the README, I can see there is a notifcication icon and number of available updates in my waybar, but when I use 86400 which is one day, I see nothing in the waybar

Is it normal?

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here.

coffebar commented 3 months ago

Maximum value changed 65_535 -> 4_294_967_295