]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/widgets/network_widget.lua
awesome: cleanup network_widget
[dotfiles.git] / awesome / widgets / network_widget.lua
index 2d9700b950ffeadc1d7f783a73197328eac5fb76..9b9b974119da1ca8309a69d2536b1554fadc1c96 100644 (file)
@@ -5,17 +5,11 @@ local widget
 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 == "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'})
 end
 
 return widget