Collaborate with systemd to load categorized envvars
This commit is contained in:
parent
ea474c6178
commit
be9faf5b08
8 changed files with 27 additions and 14 deletions
15
.profile
15
.profile
|
|
@ -36,17 +36,10 @@ if [ -d "$(systemd-path user-state-private)"/git-sync ] ; then
|
|||
fi
|
||||
|
||||
umask 0007
|
||||
export SUDO_EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
|
||||
export EDITOR="emacsclient --create-frame --no-window-system"
|
||||
export VISUAL="emacsclient --create-frame --no-window-system"
|
||||
export GTK_IM_MODULE="fcitx"
|
||||
export QT_IM_MODULE="fcitx"
|
||||
export XMODIFIERS="@im=fcitx"
|
||||
export LANG="en_IL.utf8"
|
||||
export BORG_REPO="/media/backup/"
|
||||
export BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
||||
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
||||
export XDG_CURRENT_DESKTOP="sway"
|
||||
|
||||
while read -r l; do
|
||||
eval export $l
|
||||
done < <(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)
|
||||
|
||||
# Autolaunch sway for tty1 logins
|
||||
[ "$(tty)" = "/dev/tty1" ] &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue