aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/X11/.xprofile7
1 files changed, 2 insertions, 5 deletions
diff --git a/.config/X11/.xprofile b/.config/X11/.xprofile
index 939b7e1..b05a503 100644
--- a/.config/X11/.xprofile
+++ b/.config/X11/.xprofile
@@ -7,8 +7,7 @@
xbindkeys -f "$XDG_CONFIG_HOME"/X11/xbindkeysrc
# XKB
-setxkbmap -print | xkbcomp -I$HOME/.config/xkb - $DISPLAY
-
+setxkbmap -print | xkbcomp -I"$HOME"/.config/xkb - "$DISPLAY"
#export XAUTHORITY="$XDG_RUNTIME_DIR/.Xauthority" # This line will break some DMs.
export USERXSESSION="$XDG_CACHE_HOME/X11/xsession"
@@ -16,8 +15,6 @@ export USERXSESSIONRC="$XDG_CACHE_HOME/X11/xsessionrc"
export ALTUSERXSESSION="$XDG_CACHE_HOME/X11/Xsession"
export ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors"
-
if [[ "$(tty)" = "/dev/tty1" ]]; then
- pgrep bspwm || startx "$XDG_CONFIG_HOME/X11/.xinitrc"
-# pgrep startxfce4 || startx "$XDG_CONFIG_HOME/X11/.xinitrc"
+ pgrep bspwm || startx "$XDG_CONFIG_HOME/X11/.xinitrc"
fi