greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.86k stars 471 forks source link

Error formatting #2002

Closed bktech2021 closed 7 months ago

bktech2021 commented 7 months ago

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"
bktech2021 commented 7 months ago

image this is actually a feature sorry