This small tool fetch unread counter from miniflux and format it for Waybar
- Install cli :
go install git@github.com:lucas-dclrcq/waybar-miniflux.git
- Add the following to your waybar configuration
"custom/miniflux": {
"exec": "~/go/bin/miniflux --url MINIFLUX_URL --token MINIFLUX_API_TOKEN",
"format": "{} \uf09e",
"tooltip": true,
"return-type": "json",
"interval": 300
},
- Reload waybar