about summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-11-15T17·29+0100
committerVincent Ambo <tazjin@gmail.com>2017-11-15T17·30+0100
commitf06401d49339b8690aa4dbf660492d0d733d6a5b (patch)
tree2523cef4296b124be8a31de2e5592f6b4b4e1995 /init
parent29d4413f16af4afe30e2fcc543e29762fcc04b42 (diff)
fix(nixos): Finetune some minor EXWM parameters
Diffstat (limited to 'init')
-rw-r--r--init/nixos.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/init/nixos.el b/init/nixos.el
index ab62f81909df..1a4e6bb46cb5 100644
--- a/init/nixos.el
+++ b/init/nixos.el
@@ -16,8 +16,9 @@
       (require 'exwm)
       (require 'exwm-config)
 
-      ;; Start with one workspace (make more as needed)
-      (setq exwm-workspace-number 1)
+      (fringe-mode 3)
+
+      (setq exwm-workspace-number 2)
       ;; Make class name the buffer name
       (add-hook 'exwm-update-class-hook
                 (lambda ()
@@ -37,6 +38,9 @@
       ;; Launch applications with completion (dmenu style!)
       (exwm-input-set-key (kbd "s-p") #'helm-run-external-command)
 
+      ;; Toggle between line-mode / char-mode
+      (exwm-input-set-key (kbd "C-c C-t C-t") #'exwm-input-toggle-keyboard)
+
       ;; Line-editing shortcuts
       (exwm-input-set-simulation-keys
        '(([?\C-b] . left)
@@ -52,6 +56,5 @@
 
       ;; Enable EXWM
       (exwm-enable)
-      (fringe-mode 1)))
 
 (provide 'nixos)