commit 29302458ce00077b30f9f017225012a8b7db76bb parent e0a4b41c7a4d1868d1c61229e52d201a8a59ef3b Author: Taco-C <perian.forod@gmail.com> Date: Tue, 5 Feb 2019 16:55:18 +0100 fixed the xorg keymap after moving it, oopsie Diffstat:
| M | .config/X11/xinitrc | | | 2 | +- |
| M | .profile | | | 8 | ++++---- |
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc @@ -1,5 +1,5 @@ # .xinitrc -[ -f ~/.Xkeymap ] && xkbcomp ~/.Xkeymap $DISPLAY +[ -f "$XDG_CONFIG_HOME/keymaps/xkeymap" ] && xkbcomp "$XDG_CONFIG_HOME/keymaps/xkeymap" $DISPLAY exec i3 diff --git a/.profile b/.profile @@ -17,11 +17,11 @@ export XDG_CONFIG_DIRS="/etc/xdg" export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" -[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && startx "$XINITRC" +#[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && startx "$XINITRC" -#if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then -# exec startx -#fi +if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx "$XINITRC" +fi sudo -n loadkeys "$XDG_CONFIG_HOME/keymaps/ttymap.kmap" 2>/dev/null