From a1d4ea9594ab02fb5797791c0c199267de5da790 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 2 Apr 2024 22:02:58 +0700 Subject: [PATCH] remove network error notif thingie --- .../sideright/centermodules/wifinetworks.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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: [