Small EXWM tweaks
authorAmin Bandali <bandali@gnu.org>
Tue, 13 Oct 2020 15:05:33 +0000 (11:05 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 13 Oct 2020 15:06:00 +0000 (11:06 -0400)
* .emacs.d/lisp/bandali-exwm.el: bump `exwm-workspace-number' to 10,
check for Iceweasel in addition to IceCat.

.emacs.d/lisp/bandali-exwm.el

index ff89112..f94757d 100644 (file)
@@ -61,7 +61,7 @@ around if needed."
 ;; shorten 'C-c C-q' to 'C-q'
 (define-key exwm-mode-map [?\C-q] #'exwm-input-send-next-key)
 
-(csetq exwm-workspace-number 4
+(csetq exwm-workspace-number 10
        exwm-input-global-keys
        `(([?\s-R] . exwm-reset)
          ([?\s-\\] . exwm-workspace-switch)
@@ -203,7 +203,7 @@ around if needed."
           (lambda ()
             (when exwm-class-name
               (cond
-               ((string= exwm-class-name "IceCat")
+               ((member exwm-class-name '("IceCat" "Iceweasel"))
                 (exwm-input-set-local-simulation-keys
                  `(,@exwm-input-simulation-keys
                    ([?\C-\S-d] . [?\C-d]))))