Browse Source

Move zsh xinit to .zlogin

master
Riyyi 4 years ago
parent
commit
5e56d995b4
  1. 3
      .config/zsh/.zlogin
  2. 4
      .config/zsh/.zprofile

3
.config/zsh/.zlogin

@ -0,0 +1,3 @@
XORG_USER='rick'
[ "$USER" = "$XORG_USER" ] && [ "$(tty)" = "/dev/tty1" ] && exec xinit -- vt1 > /dev/null 2>&1

4
.config/zsh/.zprofile

@ -87,7 +87,3 @@ EXPORTS=$(sed -nE \
echo "$EXPORTS" | while read -r line; do
export $line
done
## Login
[ "$USER" = "rick" ] && [ "$(tty)" = "/dev/tty1" ] && exec xinit -- vt1 > /dev/null 2>&1

Loading…
Cancel
Save