i3: make i3status-rs check whether nvidia-smi is present

master
Jef Roosens 2022-04-26 20:52:20 +02:00
parent a59c02690c
commit 6cb1bbf2fa
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ label = "GTX 1060"
show_memory = false show_memory = false
show_clocks = true show_clocks = true
interval = 1 interval = 1
if_command = "command -v nvidia-smi"
[[block]] [[block]]
block = "sound" block = "sound"