about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/keyboard.el
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/.emacs.d/wpc/keyboard.el')
-rw-r--r--configs/shared/.emacs.d/wpc/keyboard.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/configs/shared/.emacs.d/wpc/keyboard.el b/configs/shared/.emacs.d/wpc/keyboard.el
index 1323f2835675..ec50cabd2719 100644
--- a/configs/shared/.emacs.d/wpc/keyboard.el
+++ b/configs/shared/.emacs.d/wpc/keyboard.el
@@ -67,12 +67,10 @@
   (interactive)
   ;; TODO: Ensure these work once the tokenizing in prelude/start-process works
   ;; as expected.
-  (prelude/start-process
-   :name "keyboard/swap-caps-lock-and-escape"
-   :command "xmodmap -e 'remove Lock = Caps_Lock'")
-  (prelude/start-process
-   :name "keyboard/swap-caps-lock-and-escape"
-   :command "xmodmap -e 'keysym Caps_Lock = Escape'"))
+  (start-process "keyboard/swap-caps-lock-and-escape" nil "/usr/bin/xmodmap" "-e"
+                 "remove Lock = Caps_Lock")
+  (start-process "keyboard/swap-caps-lock-and-escape" nil "/usr/bin/xmodmap" "-e"
+                 "keysym Caps_Lock = Escape"))
 
 (defun keyboard/inc-repeat-rate ()
   "Increment `keyboard/repeat-rate'."