Skip to content

Instantly share code, notes, and snippets.

@otwieracz
Created March 12, 2018 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otwieracz/df433e7af8f3c40ad78b429c27acaf41 to your computer and use it in GitHub Desktop.
Save otwieracz/df433e7af8f3c40ad78b429c27acaf41 to your computer and use it in GitHub Desktop.
otwieracz@odyssey:~$ ls ~/.mu4e
mu4e.el spacemacs spacemacs.el
otwieracz@odyssey:~$ cat ~/.mu4e/mu4e.el
(setq user-home-directory "~/.mu4e/")
(setq dotspacemacs-filepath "~/.mu4e/spacemacs.el")
(setq spacemacs-start-directory "~/.mu4e/spacemacs/")
;; override server-running-p to prevent from starting daemon
(require 'server)
(defun server-running-p ()
t)
(load-file (concat spacemacs-start-directory "init.el"))
otwieracz@odyssey:~$ head ~/.mu4e/spacemacs.el
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
otwieracz@odyssey:~$ grep mu4e ~/.config/i3/config
assign [title="^mu4e$"] 7
bindsym $mod+y exec "emacs -T mu4e -q -l ~/.mu4e/mu4e.el"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment