From d7d8c939d2f6db2d68437d6b7ee45df98c5f1cfd Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 10 Aug 2024 20:36:20 -0400 Subject: Add EXWM and XELB --- .emacs.d/init.el | 7 +++++++ .emacs.d/lisp/exwm | 1 + .emacs.d/lisp/xelb | 1 + .gitmodules | 6 ++++++ .xinitrc | 4 ++-- 5 files changed, 17 insertions(+), 2 deletions(-) create mode 160000 .emacs.d/lisp/exwm create mode 160000 .emacs.d/lisp/xelb diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 975d314..381bcef 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -416,6 +416,13 @@ for all frames." (add-to-list 'load-path (b/emacs.d "lisp")) +(when (member (system-name) '("adelita")) + (add-to-list 'load-path (b/emacs.d "lisp/xelb")) + (add-to-list 'load-path (b/emacs.d "lisp/exwm")) + (require 'exwm) + (require 'exwm-config) + (exwm-config-example)) + ;; recently opened files (run-with-idle-timer 0.2 nil #'require 'recentf) (with-eval-after-load 'recentf diff --git a/.emacs.d/lisp/exwm b/.emacs.d/lisp/exwm new file mode 160000 index 0000000..f00b5ca --- /dev/null +++ b/.emacs.d/lisp/exwm @@ -0,0 +1 @@ +Subproject commit f00b5ca655a0471a10d21a3e75b1a442a8d28941 diff --git a/.emacs.d/lisp/xelb b/.emacs.d/lisp/xelb new file mode 160000 index 0000000..25589d1 --- /dev/null +++ b/.emacs.d/lisp/xelb @@ -0,0 +1 @@ +Subproject commit 25589d15117c9e13ce804b8b446bdd5ba25d52e3 diff --git a/.gitmodules b/.gitmodules index 7f92d04..d433a32 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,9 @@ [submodule "debian-el"] path = .emacs.d/lisp/debian-el url = https://salsa.debian.org/emacsen-team/debian-el.git +[submodule "xelb"] + path = .emacs.d/lisp/xelb + url = https://github.com/emacs-exwm/xelb +[submodule "exwm"] + path = .emacs.d/lisp/exwm + url = https://github.com/emacs-exwm/exwm diff --git a/.xinitrc b/.xinitrc index 0d3ba6b..f08673a 100755 --- a/.xinitrc +++ b/.xinitrc @@ -6,5 +6,5 @@ fi # launch with dbus in part so that pinentry-gnome3 -- seemingly the # pinentry du jour -- doesn't fall back to curses and screw us. -#[ -x "$(command -v emacs)" ] && dbus-run-session ssh-agent emacs -ib 0 -exec i3 +[ -x "$(command -v emacs)" ] && dbus-run-session ssh-agent emacs -ib 0 +#exec i3 -- cgit v1.2.3-60-g2f50