From 2f8102f0eb81dab43715d769bda93e268fa059ae Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 28 Apr 2018 20:31:24 -0400 Subject: [emacs] assimilate and enable EXWM --- .gitmodules | 6 ++++++ init.org | 23 ++++++++++++----------- lib/exwm | 1 + lib/xelb | 1 + 4 files changed, 20 insertions(+), 11 deletions(-) create mode 160000 lib/exwm create mode 160000 lib/xelb diff --git a/.gitmodules b/.gitmodules index c2b378c..c46c70e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/init.org b/init.org index 2f5380e..e2c87b3 100644 --- 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 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 index 0000000..aac6a74 --- /dev/null +++ b/lib/xelb @@ -0,0 +1 @@ +Subproject commit aac6a74e2f8a7b579eec3f526a874dfa38bde4c3 -- cgit v1.2.3-60-g2f50