#!/bin/sh
# The i3 session (module i3, novox/hq ADR 0208), offered by the login manager. It runs the session's
# start, ~/.xinitrc, which the display server's module writes and which ends by starting i3.
# Replaced at every push.
#
# The login manager hands the session a stdout and stderr whose reading end nobody holds, so a
# program that writes to them dies of EPIPE (an Electron tray app shows it as an error dialog).
# The session's output goes to the journal instead, under `journalctl -t x-session`.
exec systemd-cat -t x-session /bin/sh "$HOME/.xinitrc"
