From 188c64b591f6341844f4bc6906e8cc9b23ad3b14 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 24 Dec 2022 16:18:54 -0500 Subject: Switch to EXWM It's great to be back home again. :-) --- .emacs.d/init.el | 5 +++-- .emacs.d/lisp/bandali-exwm.el | 10 +++++----- .emacs.d/lisp/exwm | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) (limited to '.emacs.d') 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 index 0368127..b62d5e7 160000 --- a/.emacs.d/lisp/exwm +++ b/.emacs.d/lisp/exwm @@ -1 +1 @@ -Subproject commit 0368127976bda29d35eed788edfe74644ecd3845 +Subproject commit b62d5e79b0c1799f2cd941b4cec5bf8492cb322c -- cgit v1.2.3-60-g2f50