From f2c93c428742f5efc2013badd8b5a9267d0b7a6a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 16 Jan 2024 00:57:44 -0800 Subject: [PATCH] Remap some keys in StumpWM for my foot pedal --- oni/home/services/stumpwm/config | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/oni/home/services/stumpwm/config b/oni/home/services/stumpwm/config index 474c55d..d4cfc38 100644 --- a/oni/home/services/stumpwm/config +++ b/oni/home/services/stumpwm/config @@ -49,8 +49,25 @@ after it has been unlocked." (define-key *top-map* (kbd "s-w") "exec rofi -show window") (define-remapped-keys - '(("teams-for-linux" - ("C-M-Break" . "C-S-m")))) + `(("teams-for-linux" + ;; Mute microphone in meetings. + ("XF86Launch6" . "C-S-m")) + ("[Ff]irefox" + ;; Generally cancel action. + ("XF86Launch6" . "ESC")) + ("[Ee]macs" + ;; Save document. + ("XF86Launch5" . ("C-x" "C-s")) + ;; Quit command. + ("XF86Launch6" . "C-g") + ;; Revert (reload) file. + ("XF86Launch7" . ("C-x" "x" "g"))) + ;; Portal: Revolution + ("revolution" + ;; Quick Save + ("XF86Launch5" . "F6") + ;; Quick Load + ("XF86Launch7" . "F7")))) (set-bg-color "#222424") (set-border-color "#3f4242")