summaryrefslogtreecommitdiffstats
path: root/.emacs.d
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2022-12-24 16:18:54 -0500
committerAmin Bandali <bandali@gnu.org>2022-12-24 16:24:16 -0500
commit188c64b591f6341844f4bc6906e8cc9b23ad3b14 (patch)
tree2bf5c52a6ff44b54a737efd9bd93ddaf705b60fc /.emacs.d
parent8c1ecff38afe44dc3abbc340ae10e94e83f106ea (diff)
downloadconfigs-188c64b591f6341844f4bc6906e8cc9b23ad3b14.tar.gz
configs-188c64b591f6341844f4bc6906e8cc9b23ad3b14.tar.xz
configs-188c64b591f6341844f4bc6906e8cc9b23ad3b14.zip
Switch to EXWM
It's great to be back home again. :-)
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el5
-rw-r--r--.emacs.d/lisp/bandali-exwm.el10
m---------.emacs.d/lisp/exwm0
3 files changed, 8 insertions, 7 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index a04b4c8..8d05845 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -61,7 +61,7 @@
;; (delight "1.7")
;; (emms "7.7")
;; (rt-liberation "2.4")))
-(package-initialize))
+ (package-initialize))
(setq package-archive-upload-base "/ssh:caffeine:~/www/p/elpa")
@@ -484,7 +484,8 @@ Effectively a very simple light/dark theme toggle switch."
(expand-file-name
(convert-standard-filename "lisp") user-emacs-directory))
-;; (require 'bandali-exwm)
+(when (member (system-name) '("chaman"))
+ (require 'bandali-exwm))
(require 'bandali-org)
diff --git a/.emacs.d/lisp/bandali-exwm.el b/.emacs.d/lisp/bandali-exwm.el
index 92f9b31..b1b0bba 100644
--- a/.emacs.d/lisp/bandali-exwm.el
+++ b/.emacs.d/lisp/bandali-exwm.el
@@ -104,16 +104,16 @@ around if needed."
command nil command)))
([s-return] . (lambda ()
(interactive)
- (start-process "" nil "urxvt")))
+ (start-process "" nil "xterm")))
([S-s-return] . (lambda ()
(interactive)
- (start-process "" nil "urxvt"
+ (start-process "" nil "xterm"
"-name" "floating")))
([?\C-\s-\s] . counsel-linux-app)
([?\M-\s-\s] . (lambda ()
(interactive)
(start-process-shell-command
- "rofi-pass" nil "rofi-pass")))
+ "passmenu" nil "passmenu --type")))
([?\s-h] . windmove-left)
([?\s-j] . windmove-down)
([?\s-k] . windmove-up)
@@ -182,7 +182,7 @@ around if needed."
([?\s-\'] . (lambda ()
(interactive)
(start-process-shell-command
- "rofi-light" nil "rofi-light")))
+ "dmneu-light" nil "dmenu-light")))
([XF86AudioMute] . ; borken on my X200 :-(
(lambda ()
(interactive)
@@ -279,7 +279,7 @@ around if needed."
(exwm-input-set-local-simulation-keys
`(,@exwm-input-simulation-keys
([?\C-\S-d] . [?\C-d]))))
- ((member exwm-class-name '("URxvt" "Mate-terminal"))
+ ((member exwm-class-name '("XTerm" "Mate-terminal"))
(exwm-input-set-local-simulation-keys
'(([?\C-c ?\C-c] . [?\C-c])
([?\C-c ?\C-u] . [?\C-u]))))
diff --git a/.emacs.d/lisp/exwm b/.emacs.d/lisp/exwm
-Subproject 0368127976bda29d35eed788edfe74644ecd384
+Subproject b62d5e79b0c1799f2cd941b4cec5bf8492cb322