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. --- .gnupg/gpg-agent.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gnupg') diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf index f00d1c8..af2c254 100644 --- a/.gnupg/gpg-agent.conf +++ b/.gnupg/gpg-agent.conf @@ -5,7 +5,7 @@ max-cache-ttl 10000000 # max-cache-ttl-ssh 86400 # pinentry-program /home/bandali/.guix-profile/bin/pinentry-emacs -# pinentry-program /usr/bin/pinentry-gtk-2 +pinentry-program /usr/bin/pinentry-gtk-2 # pinentry-program /usr/bin/pinentry-tty allow-emacs-pinentry allow-loopback-pinentry -- cgit v1.2.3-60-g2f50