WizardKit/.linux_items/include/live/airootfs/etc/skel/.zlogin
2Shirt 346b9f492c Workaround to ensure we switch to X during boot
* It was starting but you'd have to switch to tty2 and back to tty1 to see anything
2017-12-27 12:38:25 -07:00

13 lines
355 B
Bash

setterm -blank 0 -powerdown 0
if [ "$(fgconsole 2>/dev/null)" -eq "1" ]; then
if fgrep -q "i3" /proc/cmdline; then
sed -i -r 's/#(own_window_type override)/\1/' ~/.conkyrc
sed -i -r 's/openbox-session/i3/' ~/.xinitrc
fi
if ! fgrep -q "nox" /proc/cmdline; then
startx >/dev/null
else
hw-diags cli
fi
fi