From b7bc9efd941f6edf6850638a6f923df06b41519d Mon Sep 17 00:00:00 2001 From: Peter Date: Sun, 28 Jun 2020 02:02:59 +0100 Subject: Add zprofile --- .zprofile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .zprofile diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..b27039f --- /dev/null +++ b/.zprofile @@ -0,0 +1,11 @@ +# Exports to move certain files around +export XDG_CONFIG_HOME="$HOME/.config" +export ZDOTDIR="$XDG_CONFIG_HOME/zsh" +export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" +export PASSWORD_STORE_DIR="$HOME/vault/pass" +export LESSHISTFILE="-" + +# Startx on boot +if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx +fi -- cgit v1.2.3