polybar: hide errors if no network status available

This commit is contained in:
Vincent Bernat 2021-07-12 12:14:41 +02:00
parent 9b5c00b92a
commit e6470038e4

View file

@ -100,7 +100,7 @@ label =  %percentage_used: 2%%
[module/network] [module/network]
type = custom/ipc type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/network.txt hook-0 = cat $XDG_RUNTIME_DIR/i3/network.txt 2> /dev/null
initial = 1 initial = 1
[module/ethernet] [module/ethernet]