Move profile envvars to separate files categorized by topic
This commit is contained in:
parent
bbdbee094c
commit
5a1f8d3754
7 changed files with 27 additions and 11 deletions
4
.config/environment/backup
Normal file
4
.config/environment/backup
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# keep-sorted start
|
||||
export BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
||||
export BORG_REPO="/media/backup/"
|
||||
# keep-sorted end
|
||||
5
.config/environment/editor
Normal file
5
.config/environment/editor
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# keep-sorted start
|
||||
export EDITOR="emacsclient --create-frame --no-window-system"
|
||||
export SUDO_EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
|
||||
export VISUAL="emacsclient --create-frame --no-window-system"
|
||||
# keep-sorted end
|
||||
5
.config/environment/ime
Normal file
5
.config/environment/ime
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# keep-sorted start
|
||||
export GTK_IM_MODULE="fcitx"
|
||||
export QT_IM_MODULE="fcitx"
|
||||
export XMODIFIERS="@im=fcitx"
|
||||
# keep-sorted end
|
||||
3
.config/environment/poetry
Normal file
3
.config/environment/poetry
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# keep-sorted start
|
||||
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
||||
# keep-sorted end
|
||||
3
.config/environment/utf-8
Normal file
3
.config/environment/utf-8
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# keep-sorted start
|
||||
export LANG="en_IL.utf8"
|
||||
# keep-sorted end
|
||||
3
.config/environment/zoom
Normal file
3
.config/environment/zoom
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# keep-sorted start
|
||||
export XDG_CURRENT_DESKTOP="sway"
|
||||
# keep-sorted end
|
||||
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"
|
||||
|
||||
for filename in $(systemd-path user-configuration)/environment/*; do
|
||||
. "$filename"
|
||||
done
|
||||
|
||||
# Autolaunch sway for tty1 logins
|
||||
[ "$(tty)" = "/dev/tty1" ] &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue