mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Clean up
This commit is contained in:
@@ -108,7 +108,7 @@ SmartPanel {
|
||||
anchors.margins: Style.marginL
|
||||
spacing: Style.marginM
|
||||
|
||||
// Ethernet info (shown when Ethernet is connected) — placed above Wi‑Fi header per request
|
||||
// Ethernet info (shown when Ethernet is connected)
|
||||
NBox {
|
||||
visible: NetworkService.ethernetConnected
|
||||
Layout.fillWidth: true
|
||||
|
||||
@@ -412,7 +412,6 @@ Singleton {
|
||||
id: ethernetDeviceShowProcess
|
||||
property string ifname: ""
|
||||
running: false
|
||||
// Note: Do NOT request GENERAL.SPEED here — it isn't supported on some nmcli versions
|
||||
// Speed is resolved via ethtool fallback below to avoid stderr warnings
|
||||
command: ["nmcli", "-t", "-f", "GENERAL.CONNECTION,IP4.ADDRESS,IP4.GATEWAY,IP4.DNS", "device", "show", ifname]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user