aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home
diff options
context:
space:
mode:
authorGravatar Tom Willemse2024-01-16 00:57:44 -0800
committerGravatar Tom Willemse2024-01-16 01:00:17 -0800
commitf2c93c428742f5efc2013badd8b5a9267d0b7a6a (patch)
treeef8156c86094805a634f9fb2ca740d9ea2a7c289 /oni/home
parentcc136633268aad35c604ae616e3fddd0c80aea83 (diff)
downloadnew-dotfiles-f2c93c428742f5efc2013badd8b5a9267d0b7a6a.tar.gz
new-dotfiles-f2c93c428742f5efc2013badd8b5a9267d0b7a6a.zip
Remap some keys in StumpWM for my foot pedal
Diffstat (limited to 'oni/home')
-rw-r--r--oni/home/services/stumpwm/config21
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")