about summary refs log tree commit diff
path: root/tools/emacs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-07T12·41+0000
committerVincent Ambo <tazjin@google.com>2020-02-07T12·41+0000
commitec42a67569d1f34cf89527c0e2a54fb588ca73af (patch)
tree3a4372011e50a8f967da1cbd2f115a3033dc15f7 /tools/emacs
parentba20ee65f61664431c4d1f3b6d2ea9d6739fb6e9 (diff)
feat(tools/emacs): Bump EXWM to recent master r/479
This version of EXWM fixes some issues with binding keys in EXWM as
well as other minor annoyances.
Diffstat (limited to 'tools/emacs')
-rw-r--r--tools/emacs/default.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix
index eb957daf4741..dda7788b4355 100644
--- a/tools/emacs/default.nix
+++ b/tools/emacs/default.nix
@@ -20,6 +20,19 @@ let
   emacsBinPath = lib.makeBinPath [ third_party.telega ];
 
   identity = x: x;
+
+  # EXWM straight from GitHub. As of 2020-02-07, XELB in nixpkgs is
+  # already at a recent enough version and does not need to be
+  # overridden.
+  exwmMaster = exwm.overrideAttrs(_: {
+    src = third_party.fetchFromGitHub {
+      owner = "ch11ng";
+      repo = "exwm";
+      rev = "48db94f48bea1137132345abfe8256cfc6219248";
+      sha256 = "0jj12z6m5kvanq19gds3jpvid2mg8w28bbbq9iycl751y2sj4l1r";
+    };
+  });
+
   tazjinsEmacs = pkgfun: (emacsWithPackages(epkgs: pkgfun(
   # Actual ELPA packages (the enlightened!)
   (with epkgs.elpaPackages; [
@@ -44,7 +57,6 @@ let
     elixir-mode
     elm-mode
     erlang
-    exwm
     geiser
     go-mode
     gruber-darker-theme
@@ -105,6 +117,7 @@ let
   # Custom packages
   (with pkgs.tools.emacs-pkgs; [
     carp-mode
+    exwmMaster
     dottime
     nix-util
     term-switcher