Clean up for env variables
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
ef10fbb68f
commit
4d46e11493
5 changed files with 39 additions and 31 deletions
|
@ -11,6 +11,11 @@
|
|||
#
|
||||
# USAGE:
|
||||
# This script is automatically executed when you start a login shell.
|
||||
|
||||
# Load env variables
|
||||
export $(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)
|
||||
|
||||
|
||||
if [[ -f "${HOME}/.config/zsh/.zshrc" ]]; then
|
||||
. "${HOME}/.config/zsh/.zshrc"
|
||||
fi
|
||||
|
@ -18,12 +23,6 @@ fi
|
|||
# Restore custom dconf configuration
|
||||
dconf load / < "${XDG_CONFIG_HOME}/dconf/root.conf"
|
||||
|
||||
# Activate correct crontab file
|
||||
crontab "${XDG_CONFIG_HOME}/cron/crontab"
|
||||
|
||||
# Load env variables
|
||||
export "$(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)"
|
||||
|
||||
if [ "$(tty)" = "/dev/tty1" ]; then
|
||||
sway > "${XDG_LOG_HOME}/sway.log" 2>&1 && exit
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue