aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md12
-rw-r--r--i3/config2
2 files changed, 8 insertions, 6 deletions
diff --git a/README.md b/README.md
index f0614e3..27e3c00 100644
--- a/README.md
+++ b/README.md
@@ -18,11 +18,13 @@ future). These are the files:
- `emacs/init.el` and `emacs/gtkrc`: should be symlinked into `~/.emacs.d`.
- `emacs/emacs.service`: should be symlinked into `~/.config/systemd/user`.
-Note that `emacs/emacs.service` should be used with the `--user` flag. For
-example:
-
- $ systemctl start --user emacs
- $ systemctl enable --user emacs
+Note that `emacs/emacs.service` should be used with the `--user` flag and it's
+used to get Emacs to work in **daemon mode** using systemd. This does **not**
+work properly for now (e.g. the user's `PATH` is not loaded). For this, in the
+`i3/config` file you'll see that I'm using `-a ""` as an argument of
+`emacsclient`. This instructs `emacsclient` to spawn a new server if there
+isn't one already. This means that the first time around it will take some
+time, but in the next time everything will be alright.
Last but not least, I'm using my customized `soria` color theme. This theme is
unfortunately not available in any way other than Github. Therefore, you should
diff --git a/i3/config b/i3/config
index 4df89c2..6f1c0ec 100644
--- a/i3/config
+++ b/i3/config
@@ -165,7 +165,7 @@ bindsym Print exec scrot -u
bindsym $mod+F1 exec ~/bin/toggle-keyboard-layout.sh
# Emacs
-bindsym $mod+m exec emacsclient -c
+bindsym $mod+m exec emacsclient -c -a ""
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available). This setup has DP-1 as the monitor on the right,