nic.py: adapting wifi-menu path

This commit is contained in:
Ludwig Behm 2023-12-06 22:01:20 +01:00
parent 2bbac991db
commit fd4b940d58
Signed by: l.behm
GPG key ID: D344835D63B89384

View file

@ -59,7 +59,7 @@ class Module(core.module.Module):
self.iw = shutil.which("iw") self.iw = shutil.which("iw")
self._update_widgets(widgets) self._update_widgets(widgets)
core.input.register(self, button=core.input.LEFT_MOUSE, cmd='/usr/local/bin/wifi-menu') core.input.register(self, button=core.input.LEFT_MOUSE, cmd='wifi-menu')
core.input.register(self, button=core.input.RIGHT_MOUSE, cmd='nm-connection-editor') core.input.register(self, button=core.input.RIGHT_MOUSE, cmd='nm-connection-editor')
def update(self): def update(self):