Merge branch 'arch' into gentoo

This commit is contained in:
ItsDrike 2021-07-22 00:17:08 +02:00
commit 866a599176
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
2 changed files with 5 additions and 4 deletions

View file

@ -14,16 +14,13 @@ export EDITOR="nvim"
export BROWSER="firefox" export BROWSER="firefox"
export TERMINAL="Alacrity" export TERMINAL="Alacrity"
# Add all ~/.local/bin folders to PATH
PATH+=":${$(find ~/.local/bin -type d | tr '\n' ':')%%:}"
# XDG Standard paths # XDG Standard paths
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache" export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share" export XDG_DATA_HOME="$HOME/.local/share"
export XDG_RUNTIME_DIR="/run/user/$UID" export XDG_RUNTIME_DIR="/run/user/$UID"
# Pre-Application XDG settings # Per-Application XDG settings
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc" export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
#export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs. #export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs.

View file

@ -5,6 +5,10 @@
# .zshrc/.bashrc, which will run whenever a new terminal # .zshrc/.bashrc, which will run whenever a new terminal
# is opened. # is opened.
# Add all folders in ~/.local/bin into PATH
# Some window managers require this line to be in profile
# not in .zshenv
PATH+=":${$(find ~/.local/bin -type d | tr '\n' ':')%%:}"
# Start graphical session automatically on tty1 if startx is aviable # Start graphical session automatically on tty1 if startx is aviable
if [ "$(tty)" = "/dev/tty1" ] && [ "$UID" != 0 ]; then if [ "$(tty)" = "/dev/tty1" ] && [ "$UID" != 0 ]; then