aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-05-16 05:58:53 -0400
committertdro <tdro@users.noreply.github.com>2020-05-16 05:58:53 -0400
commit564d041d67ee3f4bf819d75f4b7d0e8492b6f1fd (patch)
treef84181372d8483cafb30ed7f1cf47011009f52c9 /.bash_profile
parentf1204a595866f994fba1a6e7c1920a509f493f98 (diff)
downloaddotfiles-564d041d67ee3f4bf819d75f4b7d0e8492b6f1fd.tar.gz
dotfiles-564d041d67ee3f4bf819d75f4b7d0e8492b6f1fd.tar.bz2
dotfiles-564d041d67ee3f4bf819d75f4b7d0e8492b6f1fd.zip
.bash_profile: Get xorg module path before exec
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
index e358675..0a465d4 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -5,6 +5,7 @@ export XAUTHORITY=$HOME/.config/X11/Xauthority;
# auto login
[ "$EUID" != 0 ] && [ -z "$DISPLAY" ] && [ "$(tty)" = '/dev/tty1' ] \
+ && command -v nix && "$HOME"/.local/bin/scripts/nix-xorg-conf > "$HOME"/.config/X11/xorg.conf.d/00-modules.conf \
&& exec xinit "$HOME/.config/X11/xinitrc" -- :0 \
-configdir "$HOME/.config/X11/xorg.conf.d" \
-logfile "$HOME/.cache/xorg.log" vt1 -keeptty -auth "$XAUTHORITY";