diff --git a/bin/xmobar.hs b/bin/xmobar.hs
index cc66553..1f7110a 100644
--- a/bin/xmobar.hs
+++ b/bin/xmobar.hs
@@ -110,7 +110,7 @@ ethernetCmd iface = CmdSpec
{ csAlias = iface
, csDepends = Just $ sysDepends devBus devPath
, csRunnable = Run
- $ Device ("enp7s0f1", "\xf0e8", T.fgColor, T.backdropFgColor) 5
+ $ Device (iface, "\xf0e8", T.fgColor, T.backdropFgColor) 5
}
isWireless :: String -> Bool