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

This commit is contained in:
2020-01-18 14:51:36 +01:00
parent dcf586c15b
commit a3806294dc
2 changed files with 9 additions and 1 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
#!/bin/sh
. ~/.profile
if [ -z "$EDITOR" ]; then
. ~/.profile
fi
xrandr --auto
xrandr --output HDMI1 --right-of DP1