diff options
author | Tom Willemse | 2024-01-16 00:57:44 -0800 |
---|---|---|
committer | Tom Willemse | 2024-01-16 01:00:17 -0800 |
commit | f2c93c428742f5efc2013badd8b5a9267d0b7a6a (patch) | |
tree | ef8156c86094805a634f9fb2ca740d9ea2a7c289 | |
parent | cc136633268aad35c604ae616e3fddd0c80aea83 (diff) | |
download | new-dotfiles-f2c93c428742f5efc2013badd8b5a9267d0b7a6a.tar.gz new-dotfiles-f2c93c428742f5efc2013badd8b5a9267d0b7a6a.zip |
Remap some keys in StumpWM for my foot pedal
-rw-r--r-- | oni/home/services/stumpwm/config | 21 |
1 files 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") |