Start EXWM through DBus and fix pinentry-gnome3 annoyances
[~bandali/configs] / .xinitrc
old mode 100644 (file)
new mode 100755 (executable)
index c2feb42..ffb1aa0
--- a/.xinitrc
+++ b/.xinitrc
@@ -1 +1,9 @@
-[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
+# -*- mode: sh; sh-shell: sh -*-
+
+if [ -f "$HOME/.local/bin/startup-progs" ]; then
+   . "$HOME/.local/bin/startup-progs"
+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