start X with sx if available (after login to first virtual console)

This commit is contained in:
2020-01-18 14:46:35 +01:00
parent dcf586c15b
commit a3806294dc
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#!/bin/sh
. ~/.profile
if [ -z "$EDITOR" ]; then
. ~/.profile
fi
xrandr --auto
xrandr --output HDMI1 --right-of DP1