mirror of http://codeberg.org/g1n/.emacs.d.git
EXWM key bindings
This commit is contained in:
parent
83e0628c72
commit
e48f32475e
14
init.el
14
init.el
|
@ -61,7 +61,7 @@
|
|||
(setq browse-url-browser-function 'eww-browse-url)
|
||||
;; autostart all-the-icons
|
||||
(require 'all-the-icons)
|
||||
(all-the-icons-icon-for-mode 1)
|
||||
(all-the-icons-icon-for-mode t)
|
||||
|
||||
; LISP
|
||||
(load (expand-file-name "~/.roswell/helper.el"))
|
||||
|
@ -73,9 +73,19 @@
|
|||
; exwm
|
||||
(require 'exwm)
|
||||
(require 'exwm-config)
|
||||
(exwm-config-default)
|
||||
(exwm-enable)
|
||||
(require 'exwm-systemtray)
|
||||
(exwm-systemtray-enable)
|
||||
;; key bindings
|
||||
(setq exwm-input-global-keys
|
||||
`(([?\s-r] . exwm-reset)
|
||||
([?\s-w] . exwm-workspace-switch)
|
||||
,@(mapcar (lambda (i)
|
||||
`(,(kbd (format "s-%d" i)) .
|
||||
(lambda ()
|
||||
(interactive)
|
||||
(exwm-workspace-switch-create ,i))))
|
||||
(number-sequence 0 9))))
|
||||
|
||||
; elfeed
|
||||
(use-package elfeed
|
||||
|
|
Loading…
Reference in New Issue