From 77d707102f5a76461171c46768197fc034927d65 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Wed, 29 May 2019 08:43:39 -0400 Subject: Use relative paths for external programs --- jakob.org | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'jakob.org') diff --git a/jakob.org b/jakob.org index 6b66422..66beb59 100644 --- a/jakob.org +++ b/jakob.org @@ -854,16 +854,18 @@ windmove to my workflow, now that I have the super key at my disposal. (start-process-shell-command command nil command))) ([?\s-X] . (lambda () (interactive) - (start-process "" nil "/usr/bin/slock"))) + (start-process "" nil "slock"))) ([?\s-f] . (lambda () (interactive) - (start-process "" nil "/usr/bin/firefox"))) + (start-process "" nil (if (string= (system-name) "Upsilon") + "firefox" + "icecat")))) ([?\s-m] . (lambda () (interactive) - (start-process "" nil "/usr/bin/kitty" "--class" "mutt" "/usr/bin/mutt"))) + (start-process "" nil "kitty" "--class" "mutt" "mutt"))) (,(kbd "s-") . (lambda () (interactive) - (start-process "" nil "/usr/bin/kitty"))) + (start-process "" nil "kitty"))) ;; Keys are offset such that corresponds to the 0th workspace. ,@(mapcar (lambda (i) @@ -907,7 +909,8 @@ because it doesn't play nicely with readline. :hook (exwm-manage-finish . (lambda () (when (and exwm-class-name - (string= exwm-class-name "Firefox")) + (or (string= exwm-class-name "Firefox") + (string= exwm-class-name "IceCat"))) (exwm-input-set-local-simulation-keys (concatenate 'list exwm-input-simulation-keys @@ -2283,7 +2286,7 @@ Set up SLIME to use sbcl. #+BEGIN_SRC elisp (use-package slime :config - (setq inferior-lisp-program "/usr/bin/sbcl" + (setq inferior-lisp-program "sbcl" slime-contribs '(slime-fancy))) #+END_SRC -- cgit v1.3