i3, .xinitrc: Polish

Also update Concesssion
This commit is contained in:
2018-10-20 14:09:54 -05:00
parent ba5269053a
commit 833636c0d2
6 changed files with 45 additions and 4 deletions

22
.xinitrc Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/sh
#
# Salt's .xinitrc
# Copyright (C) 2018 salt <salt@lap-th-e560-0>
#
# Distributed under terms of the MIT license.
#
# Set up our session target
which i3 > /dev/null 2>&1 && export STARTUP="i3"
which bspwm > /dev/null 2>&1 && export STARTUP="bspwm"
[ -x "$HOME/.concession/conspiracy" ] && export STARTUP="$HOME/.concession/conspiracy"
# Execute Xsession stuff
[ -r /etc/X11/Xsession ] && . /etc/X11/Xsession
# Do the do
[ -z "${STARTUP+x}" ] || exec "$STARTUP"
# Or maybe just die, I guess
echo "Failed to start Concession!" >&2
exit 1