mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 11:47:09 -04:00
move env to .profile
This commit is contained in:
parent
5d41001ee5
commit
710b820ed2
|
@ -1,5 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
# XDG base directories
|
||||
[ -z "$XDG_DATA_HOME" ] && export XDG_DATA_HOME="$HOME/.local/share"
|
||||
[ -z "$XDG_CONFIG_HOME" ] && export XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
@ -29,5 +27,10 @@ export NODE_REPL_HISTORY="$XDG_DATA_HOME/node_repl_history"
|
|||
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
|
||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
||||
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
|
||||
[ -f "$XDG_CONFIG_HOME/X11/xinitrc" ] && export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
|
||||
export _JAVA_OPTIONS="-Djava.util.prefs.userRoot=$XDG_CONFIG_HOME/java"
|
||||
|
||||
# Generate shortcuts if none exist and the script is in $PATH
|
||||
[ ! -f "$XDG_CONFIG_HOME/shell/shortcutrc" ] && [ -x "$(command -v shortcuts)" ] && shortcuts
|
||||
|
||||
# Automatically start X session inside tty1
|
||||
[ -z "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ] && exec startx
|
Loading…
Reference in a new issue