[emacs] assimilate and enable EXWM
authorAmin Bandali <amin@aminb.org>
Sun, 29 Apr 2018 00:31:24 +0000 (20:31 -0400)
committerAmin Bandali <amin@aminb.org>
Sun, 29 Apr 2018 00:31:24 +0000 (20:31 -0400)
.gitmodules
init.org
lib/exwm [new submodule]
lib/xelb [new submodule]

index c2b378c..c46c70e 100644 (file)
@@ -31,6 +31,9 @@
 [submodule "exec-path-from-shell"]
        path = lib/exec-path-from-shell
        url = git@github.com:purcell/exec-path-from-shell.git
+[submodule "exwm"]
+       path = lib/exwm
+       url = git@github.com:ch11ng/exwm.git
 [submodule "ghub"]
        path = lib/ghub
        url = git@github.com:magit/ghub.git
@@ -69,6 +72,9 @@
 [submodule "with-editor"]
        path = lib/with-editor
        url = git@github.com:magit/with-editor.git
+[submodule "xelb"]
+       path = lib/xelb
+       url = git@github.com:ch11ng/xelb.git
 [submodule "yaml-mode"]
        path = lib/yaml-mode
        url = git@github.com:yoshiki/yaml-mode.git
index 2f5380e..e2c87b3 100644 (file)
--- a/init.org
+++ b/init.org
@@ -321,11 +321,11 @@ See [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.htm
 
 *** Smaller fringe
 
-Set fringe to a small value so we don't have big borders in EXWM, but
-can still see the =diff-hl= colors in the fringe.
+Might want to set the fringe to a smaller value, especially if using
+EXWM. I'm fine with the default for now.
 
 #+begin_src emacs-lisp
-(fringe-mode '(3 . 1))
+;; (fringe-mode '(3 . 1))
 #+end_src
 
 *** Disable disabled commands
@@ -460,14 +460,15 @@ Roll your own modal mode
 *** [[https://github.com/ch11ng/exwm][EXWM]] (window manager)
 
 #+begin_src emacs-lisp
-;; (use-package exwm
-;;   :config
-;;   (require 'exwm-config)
-;;   (exwm-config-default)
-;;   (require 'exwm-systemtray)
-;;   (exwm-systemtray-enable)
-;;   (require 'exwm-randr)
-;;   (exwm-randr-enable))
+(use-package exwm
+  :demand t
+  :config
+  (require 'exwm-config)
+  (exwm-config-default)
+  (require 'exwm-systemtray)
+  (exwm-systemtray-enable)
+  (require 'exwm-randr)
+  (exwm-randr-enable))
 #+end_src
 
 *** [[https://orgmode.org/][Org mode]]
diff --git a/lib/exwm b/lib/exwm
new file mode 160000 (submodule)
index 0000000..87db8b4
--- /dev/null
+++ b/lib/exwm
@@ -0,0 +1 @@
+Subproject commit 87db8b42a33876818ad8ee6b950c1f2aaa73d3d5
diff --git a/lib/xelb b/lib/xelb
new file mode 160000 (submodule)
index 0000000..aac6a74
--- /dev/null
+++ b/lib/xelb
@@ -0,0 +1 @@
+Subproject commit aac6a74e2f8a7b579eec3f526a874dfa38bde4c3