From 5d40c938921c6df2af77df6a453eff70d60cf685 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 24 Dec 2022 19:52:34 -0500 Subject: Various tweaks and fixes for using EXWM * .Xresources.d/xterm: Allow send events, needed for EXWM's simulation keys to work. * .emacs.d/init.el: Check additionally that we're in a graphical environment, though not in another window manager or desktop environment, before running EXWM. Also, use the EXWM-provided function for switching buffers that also works for EXWM windows, including windows in other workspaces or those that are floating. * .emacs.d/lisp/bandali-exwm.el: Tweak and add to global and simulation keys for more convenience. * .gnupg/gpg-agent.conf: It seems we need to explicitly set a pinentry-program, otherwise GPG will pick the tty or ncurses one even when we're not in a tty or terminal, which will not work and cause problems when using EXWM. --- .Xresources.d/xterm | 3 +++ 1 file changed, 3 insertions(+) (limited to '.Xresources.d/xterm') diff --git a/.Xresources.d/xterm b/.Xresources.d/xterm index b0af6ac..44c4eea 100644 --- a/.Xresources.d/xterm +++ b/.Xresources.d/xterm @@ -13,3 +13,6 @@ !*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 !*VT100.utf8Fonts.font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 !*VT100.utf8Fonts.font: -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 + +! for EXWM simulation keys +*allowSendEvents: true -- cgit v1.2.3-60-g2f50