]>
Commit | Line | Data |
---|---|---|
1 | # This wil be set correctly in systemd service since the service manager | |
2 | # itself goes through /etc/pam.d/system-login (as systemd-user) and | |
3 | # takes its environment from pam_env | |
4 | # HOME doesn’t even exist when arriving here, but the user’s home is | |
5 | # available via @{HOME}. But pam_systemd still sets XDG_RUNTIME_DIR (and | |
6 | # only that one in the case of systemd-user) | |
7 | ||
8 | # Those are already defined in /etc/security/pam_env.conf | |
9 | XDG_CONFIG_HOME DEFAULT="@{HOME}/.config" | |
10 | XDG_CACHE_HOME DEFAULT="@{HOME}/.cache" | |
11 | XDG_DATA_HOME DEFAULT="@{HOME}/.local/share" | |
12 | XDG_STATE_HOME DEFAULT="@{HOME}/.local/state" | |
13 | ||
14 | EDITOR DEFAULT="vim" | |
15 | VISUAL DEFAULT="vim" | |
16 | PAGER DEFAULT="less" | |
17 | BROWSER DEFAULT="firefox" | |
18 | ||
19 | # replace GIO with xdg-open, see tools/files/gio_unwrapper.sh | |
20 | GIO_LAUNCH_DESKTOP DEFAULT=gio_unwrapper | |
21 | ||
22 | # Readline | |
23 | INPUTRC DEFAULT="${XDG_CONFIG_HOME}/inputrc" | |
24 | ||
25 | # Ansible | |
26 | ANSIBLE_CONFIG DEFAULT="${XDG_CONFIG_HOME}/ansible/ansible.cfg" | |
27 | ||
28 | # Python | |
29 | IPYTHONDIR DEFAULT="${XDG_CONFIG_HOME}/ipython" | |
30 | JUPYTER_CONFIG_DIR DEFAULT="${XDG_CONFIG_HOME}/jupyter" | |
31 | PYTHONSTARTUP DEFAULT="${XDG_CONFIG_HOME}/python/startup_script.py" | |
32 | ||
33 | # VIM | |
34 | VIMINIT DEFAULT=":source ${XDG_CONFIG_HOME}/vim/vimrc" | |
35 | ||
36 | # Mplayer | |
37 | MPLAYER_HOME DEFAULT="${XDG_CONFIG_HOME}/mplayer" | |
38 | ||
39 | # X11 | |
40 | XAUTHORITY DEFAULT="${XDG_RUNTIME_DIR}/Xauthority" | |
41 | ||
42 | # GPG | |
43 | GNUPGHOME DEFAULT="${XDG_CONFIG_HOME}/gnupg" | |
44 | ||
45 | # SSH | |
46 | SSH_AGENT_PID DEFAULT= | |
47 | SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/{{ gnupg_runtime_dir_cmd.stdout }}/S.gpg-agent.ssh" | |
48 | ||
49 | # Less | |
50 | LESS DEFAULT="-iqFMRSX" | |
51 | LESSHISTFILE DEFAULT="${XDG_STATE_HOME}/less/history" | |
52 | ||
53 | # Pass | |
54 | PASSWORD_STORE_DIR DEFAULT="${XDG_DATA_HOME}/pass" | |
55 | ||
56 | # Postgresql | |
57 | PSQLRC DEFAULT="${XDG_CONFIG_HOME}/psql/psqlrc" | |
58 | PSQL_HISTORY DEFAULT="${XDG_STATE_HOME}/psql/psql_history" | |
59 | PGPASSFILE DEFAULT="${XDG_CONFIG_HOME}/psql/pgpass" | |
60 | PGSERVICEFILE DEFAULT="${XDG_CONFIG_HOME}/psql/pg_service.conf" | |
61 | ||
62 | # Sqlite | |
63 | SQLITE_HISTORY DEFAULT="${XDG_STATE_HOME}/sqlite_history" | |
64 | ||
65 | # Stack | |
66 | STACK_ROOT DEFAULT="${XDG_DATA_HOME}/stack" | |
67 | ||
68 | # Nodejs | |
69 | NVM_DIR DEFAULT="${XDG_DATA_HOME}/nvm" | |
70 | NPM_CONFIG_USERCONFIG DEFAULT="${XDG_CONFIG_HOME}/npm/npmrc" | |
71 | NODE_REPL_HISTORY DEFAULT="${XDG_STATE_HOME}/nodejs/repl_history" | |
72 | ||
73 | # TMUX | |
74 | TMUX_TMPDIR DEFAULT="${XDG_RUNTIME_DIR}" | |
75 | ||
76 | # Zeal | |
77 | DASHT_DOCSETS_DIR DEFAULT="${XDG_DATA_HOME}/Zeal/Zeal/docsets/" | |
78 | ||
79 | # Wget | |
80 | WGETRC DEFAULT="${XDG_CONFIG_HOME}/wgetrc" | |
81 | ||
82 | # fcitx | |
83 | GTK_IM_MODULE DEFAULT="fcitx" | |
84 | QT_IM_MODULE DEFAULT="fcitx" | |
85 | XMODIFIERS DEFAULT="@im=fcitx" | |
86 | ||
87 | # node_modules/pm2/paths.js | |
88 | PM2_HOME DEFAULT="${XDG_DATA_HOME}/pm2" | |
89 | PM2_CONF_FILE DEFAULT="${XDG_CONFIG_HOME}/pm2/conf.js" | |
90 | PM2_MODULE_CONF_FILE DEFAULT="${XDG_CONFIG_HOME}/pm2/module_conf.js" | |
91 | PM2_LOG_FILE_PATH DEFAULT="${XDG_STATE_HOME}/pm2/pm2.log" | |
92 | PM2_PID_FILE_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/pm2.pid" | |
93 | PM2_RELOAD_LOCKFILE DEFAULT="${XDG_RUNTIME_DIR}/pm2/reload.lock" | |
94 | PM2_DEFAULT_PID_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/pids" | |
95 | PM2_DEFAULT_LOG_PATH DEFAULT="${XDG_STATE_HOME}/pm2/logs" | |
96 | PM2_DAEMON_RPC_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/rpc.sock" | |
97 | PM2_DAEMON_PUB_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/pub.sock" | |
98 | PM2_INTERACTOR_RPC_PORT DEFAULT="${XDG_RUNTIME_DIR}/pm2/interactor.sock" | |
99 | PM2_INTERACTOR_LOG_FILE_PATH DEFAULT="${XDG_STATE_HOME}/pm2/agent.log" | |
100 | PM2_INTERACTOR_PID_PATH DEFAULT="${XDG_RUNTIME_DIR}/pm2/agent.pid" | |
101 | PM2_INTERACTION_CONF DEFAULT="${XDG_CONFIG_HOME}/pm2/agent.json5" |