A module for polybar, which outputs various pihole status messages via API calls
- Paste the module code into your polybar configuration
- Place pihole-status.sh in a folder of your choice and copy the filepath
- Make sure the script is executable!
- Replace the placeholder filepath in the module code with your actual filepath to the script
[module/pihole-polybar]
type = custom/script
exec = ~/yourFilePath
interval = 120
format = pihole: <label>
label-font = 1
- jq
- curl