about summary refs log tree commit diff
path: root/exwm-config.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-07-19T03·01+0800
committerChris Feng <chris.w.feng@gmail.com>2016-07-19T03·01+0800
commitb409d873b6d1372dd7ba01155f7a03fb8de6e053 (patch)
tree35fe2782e1c77ca7d5c1f5110d7dee920e143ba9 /exwm-config.el
parentc22f35620f0db3e86f4b0678a29dc3eee48df4d9 (diff)
parentb51f3e65f15385da70b659ef093230913429572b (diff)
Merge branch 'medranocalvo/dynamic-workspaces' into externals/exwm
Diffstat (limited to 'exwm-config.el')
-rw-r--r--exwm-config.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-config.el b/exwm-config.el
index d6e10f23c9f7..e1e5010d3d0d 100644
--- a/exwm-config.el
+++ b/exwm-config.el
@@ -39,7 +39,7 @@
   ;; 's-w': Switch workspace
   (exwm-input-set-key (kbd "s-w") #'exwm-workspace-switch)
   ;; 's-N': Switch to certain workspace
-  (dotimes (i exwm-workspace-number)
+  (dotimes (i 10)
     (exwm-input-set-key (kbd (format "s-%d" i))
                         `(lambda () (interactive) (exwm-workspace-switch ,i))))
   ;; 's-&': Launch application