Skip to content

Instantly share code, notes, and snippets.

View showrav-ansary's full-sized avatar
🐰
Working for bunnies 🐰

A. A. Noman Ansary showrav-ansary

🐰
Working for bunnies 🐰
View GitHub Profile
@showrav-ansary
showrav-ansary / Waybar module for monitoring nVidia GPUs.md
Last active January 15, 2026 20:02
this gist contains how to create a module for waybar to monitor nVidia GPUs.

Screenshot-20250109-181624.png
This custom module will require nvidia-smi installed as I have chosen to use it to pull real-time data. For icons to work correctly install nerd-fonts.

In your ~/.config/waybar/Modules you can choose to add these:

  • GPU Usage:
"custom/gpu-usage": {
    "format": "{}% {icon}",
    "format-icons": "󰾲",