diff --git a/.config/ags/modules/sideright/centermodules/wifinetworks.js b/.config/ags/modules/sideright/centermodules/wifinetworks.js index 8303463fb..cc2475273 100644 --- a/.config/ags/modules/sideright/centermodules/wifinetworks.js +++ b/.config/ags/modules/sideright/centermodules/wifinetworks.js @@ -37,13 +37,15 @@ const WifiNetwork = (accessPoint) => { ] }); return Button({ - onClicked: accessPoint.active ? () => { } : () => execAsync(`nmcli device wifi connect ${accessPoint.bssid}`).catch(e => { - Utils.notify({ - summary: "Network", - body: e, - actions: { "Open network manager": () => execAsync("nm-connection-editor").catch(print) } - }); - }).catch(e => console.error(e)), + onClicked: accessPoint.active ? () => { } : () => execAsync(`nmcli device wifi connect ${accessPoint.bssid}`) + // .catch(e => { + // Utils.notify({ + // summary: "Network", + // body: e, + // actions: { "Open network manager": () => execAsync("nm-connection-editor").catch(print) } + // }); + // }) + .catch(print), child: Box({ className: 'sidebar-wifinetworks-network spacing-h-10', children: [