about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-27T14·50+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-27T14·50+0000
commitb5c0d296018140d16dc4be81c12697fe29d6f92d (patch)
tree286909742d602c83c817ed1cf6fd53be33c2cfef
parentb6e99528898421c5fb87e2c27e1d059a630a2108 (diff)
Change Emacs startup
Remove `dbus-launch` and prefer simply `exec emacs`. Add `--no-site-file` and
`--no-site-lisp` flags.

Temporarily disable `google-stuff.el` because it's unavailable with the
`--no-site-lisp` flag.

This should all be fixed when I fully nixify my Emacs.
-rw-r--r--configs/shared/.emacs.d/init.el2
-rw-r--r--configs/shared/.xsessionrc.shared3
2 files changed, 2 insertions, 3 deletions
diff --git a/configs/shared/.emacs.d/init.el b/configs/shared/.emacs.d/init.el
index c5657c909027..774ae8888b03 100644
--- a/configs/shared/.emacs.d/init.el
+++ b/configs/shared/.emacs.d/init.el
@@ -11,7 +11,7 @@
 (require 'kaomoji)
 
 ;; Google
-(require 'google-stuff)
+;; (require 'google-stuff)
 
 ;; Laptop XF-functionality
 (require 'pulse-audio)
diff --git a/configs/shared/.xsessionrc.shared b/configs/shared/.xsessionrc.shared
index 7d0753b21cc2..7c8428e406fa 100644
--- a/configs/shared/.xsessionrc.shared
+++ b/configs/shared/.xsessionrc.shared
@@ -1,5 +1,4 @@
 #!/bin/sh
-
 # Might be unnecessary...
 . ~/.profile
 
@@ -28,4 +27,4 @@ unclutter &
 keynav daemonize
 
 # Startup Emacs (and EXWM).
-exec dbus-launch --exit-with-session emacs --debug-init
+exec emacs --debug-init --no-site-file --no-site-lisp