diff options
| author | Jakob L. Kreuze | 2019-05-29 08:43:39 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-05-29 08:43:39 -0400 |
| commit | 77d707102f5a76461171c46768197fc034927d65 (patch) | |
| tree | 752f9c21348ff6b7e2596102d6a4594c7afaf7c4 /jakob.org | |
| parent | a660434507d867848a9c75f47e6f9624adeb22ca (diff) | |
Use relative paths for external programs
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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-<return>") . (lambda () (interactive) - (start-process "" nil "/usr/bin/kitty"))) + (start-process "" nil "kitty"))) ;; Keys are offset such that <s-1> 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 |