commit 7bcd875f549db861abe51d64682a6448aee4eb3f parent 6d7773332994f6cc7cf1929cf67277b9731698b3 Author: Taco-C <perian.forod@gmail.com> Date: Mon, 4 Feb 2019 23:46:11 +0100 xdg and x Diffstat:
| R | .xinitrc -> .config/X11/xinitrc | | | 0 | |
| R | .vimrc -> .config/nvim/init.vim | | | 0 | |
| M | .profile | | | 6 | +++++- |
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.xinitrc b/.config/X11/xinitrc diff --git a/.vimrc b/.config/nvim/init.vim diff --git a/.profile b/.profile @@ -13,7 +13,11 @@ export XDG_DATA_HOME="$HOME/.local/share" export XDG_DATA_DIRS="/usr/local/share:/usr/share" export XDG_CONFIG_DIRS="/etc/xdg" -[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && startx +# Xorg +export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" +export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" + +[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && startx "$XINITRC" #if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then # exec startx