From a75f9188f6ee12294c222bbf5acb503e21176f3f Mon Sep 17 00:00:00 2001 From: BirDt_ Date: Thu, 19 Mar 2026 22:56:59 +0800 Subject: [PATCH] Keybind for connecting in the wifi list --- userland/system-util.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/userland/system-util.el b/userland/system-util.el index e7eb22e..e4a5ae8 100644 --- a/userland/system-util.el +++ b/userland/system-util.el @@ -39,7 +39,10 @@ (use-package nm :straight (nm :type git :host github :repo "theesfeld/nm") - :ensure t) + :ensure t + :config + (add-hook 'nm-ui-wifi-list-mode-hook (lambda () + (define-key nm-ui-wifi-list-mode-map (kbd "RET") 'nm-ui-wifi-list-connect)))) (use-package bluetooth :straight (bluetooth :type git :host github :repo "emacsmirror/bluetooth")