I should find a better way of doing this.
I'm also not sure if I want to keep showing the indicator for cabled
connections.
if utils.host == "chronos" then
widget = net_widget.wireless({interface="wlp3s0", command_mode="newer", font='monospace'})
end
if utils.host == "chronos" then
widget = net_widget.wireless({interface="wlp3s0", command_mode="newer", font='monospace'})
end
-if utils.host == "smartlab-imac2" then
- widget = net_widget.wireless({interface="wlp3s0", command_mode="newer", font='monospace'})
-end
if utils.host == "hactar" then
widget = net_widget.indicator({interfaces={"enp3s0"}, command_mode="newer", font='monospace'})
end
if utils.host == "hactar" then
widget = net_widget.indicator({interfaces={"enp3s0"}, command_mode="newer", font='monospace'})
end
-if utils.host == "sb-arch" then
- widget = net_widget.indicator({interfaces={"enp0s31f6"}, command_mode="newer", font='monospace'})
-end
-if utils.host == "UH-LPT044" then
- widget = net_widget.wireless({interface="wlp4s0", command_mode="newer", font='monospace'})
+if utils.host == "uh-nuc001" then
+ widget = net_widget.indicator({interfaces={"eno1"}, command_mode="newer", font='monospace'})