summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-04-28 20:31:24 -0400
committerAmin Bandali <amin@aminb.org>2018-04-28 20:31:24 -0400
commit2f8102f0eb81dab43715d769bda93e268fa059ae (patch)
tree678ad21ed58f14023b225cf201ec96100bf0df39
parentf77522237eccc8f969831966bdefe26ca073774f (diff)
downloadconfigs-2f8102f0eb81dab43715d769bda93e268fa059ae.tar.gz
configs-2f8102f0eb81dab43715d769bda93e268fa059ae.tar.xz
configs-2f8102f0eb81dab43715d769bda93e268fa059ae.zip
[emacs] assimilate and enable EXWM
-rw-r--r--.gitmodules6
-rw-r--r--init.org23
m---------lib/exwm0
m---------lib/xelb0
4 files changed, 18 insertions, 11 deletions
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
+Subproject 87db8b42a33876818ad8ee6b950c1f2aaa73d3d
diff --git a/lib/xelb b/lib/xelb
new file mode 160000
+Subproject aac6a74e2f8a7b579eec3f526a874dfa38bde4c