Remap some keys in StumpWM for my foot pedal

This commit is contained in:
Tom Willemse 2024-01-16 00:57:44 -08:00
parent cc13663326
commit f2c93c4287

View file

@ -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")