about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-11-15T17·56+0100
committerVincent Ambo <tazjin@gmail.com>2017-11-15T17·56+0100
commitb7a5dd0c1bd232f7c521d5647f57ba4021787e06 (patch)
tree5a17272abca5c0181b0bb088f0b939feeb61a252
parent84601a397866ad3c0b509e2003567c415b852244 (diff)
feat(nixos): Enable EXWM compositor
-rw-r--r--init/nixos.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/nixos.el b/init/nixos.el
index a8d02652a26b..20f2e6937eec 100644
--- a/init/nixos.el
+++ b/init/nixos.el
@@ -15,6 +15,7 @@
       (message "Running on NixOS, configuring ExWM.")
       (require 'exwm)
       (require 'exwm-config)
+      (require 'exwm-cm)
 
       (fringe-mode 3)
 
@@ -49,4 +50,8 @@
       ;; Enable EXWM
       (exwm-enable)
 
+      ;; Configure compositor
+      (setq exwm-cm-opacity 95)
+      (exwm-cm-enable)))
+
 (provide 'nixos)