about summary refs log tree commit diff
path: root/configs/shared/.xsessionrc.shared
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-06T14·58+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-17T10·56+0000
commit069ca630828435280cd41e30d3e75057180f333c (patch)
tree7d3e0d9f438386b9af284ea13412282abff8e319 /configs/shared/.xsessionrc.shared
parent7175d230c2cb2e5d90a25bcbd012ed75eaa96860 (diff)
WIP: Nixify Emacs setup
The things that I dislike about this setup are:
1. `xref-find-definitions` takes me to `/nix/store`, which is a read-only
version of the source code, so I cannot edit it, which doesn't feel lispy.

2. I need to rebuild the derivation when I change something, which also doesn't
feel lispy.

There are ways to circumvent both of these drawbacks, but for now, I'm checking
this in only to later revert it.
Diffstat (limited to 'configs/shared/.xsessionrc.shared')
-rw-r--r--configs/shared/.xsessionrc.shared7
1 files changed, 5 insertions, 2 deletions
diff --git a/configs/shared/.xsessionrc.shared b/configs/shared/.xsessionrc.shared
index 5c9da5b5a3be..f0f8355a820d 100644
--- a/configs/shared/.xsessionrc.shared
+++ b/configs/shared/.xsessionrc.shared
@@ -26,7 +26,7 @@ tmux new -d -s main
 
 # Start the Emacs server
 # TODO: Consider starting this with `systemctl --user enable emacs.service`
-emacs --daemon
+# emacs --daemon
 
 # Start ssh-agent
 eval "$(ssh-agent -s)"
@@ -42,4 +42,7 @@ compton &
 unclutter &
 
 # Startup Emacs (and EXWM).
-exec dbus-launch --exit-with-session emacs
+# TODO: Does this prevent the Emacs server (i.e. `emacs --daemon`) from running?
+# NOTE: wpcarros-emacs is built with `nix-env -iA emacs -f .` from
+# `CWD=~/Dropbox/dotfiles`
+exec dbus-launch --exit-with-session wpcarros-emacs