diff options
author | tdro <tdro@users.noreply.github.com> | 2020-05-16 05:58:53 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-05-16 05:58:53 -0400 |
commit | 564d041d67ee3f4bf819d75f4b7d0e8492b6f1fd (patch) | |
tree | f84181372d8483cafb30ed7f1cf47011009f52c9 /.bash_profile | |
parent | f1204a595866f994fba1a6e7c1920a509f493f98 (diff) | |
download | dotfiles-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_profile | 1 |
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"; |