greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error formatting

bktech2021 opened this issue · comments

Hi, I'm using i3status-rs with optimus-manager, when I'm on intel GPU i3status-rs nvidia-gpu block fails (because on intel mode gpu isn't powered because i set pci_remove=yes), is there a way that i can format the errors, like

format-error = "$icon GPU powered off"

image
this is actually a feature sorry