# ~/.zprofile # Bedtime to make sure I go to sleep hour="$(date '+%H')" ver=$(uname -sr) osname=$(uname -o) touch /tmp/netactdown /tmp/netactup /tmp/cpuloadcache export TERMINAL="st" export BROWSER="librewolf" export ALTBROWSER="brave" export EDITOR="nvim" export VISUAL="nvim" export MANGOHUD=1 export MANGOHUD_DLSYM=1 export ENABLE_VKBASALT=1 export QT_QPA_PLATFORMTHEME="qt5ct" export QT_QPA_PLATFORMTHEME="qt6ct" export AWT_TOOLKIT="MToolkit" export _JAVA_AWT_WM_NONREPARENTING=1 export ENABLE_VKBASALT=0 # shell settings export PATH="$PATH:$(find ~/.local/bin -type d -printf %p:)" #export PATH="$PATH:$HOME/.local/bin:$HOME/.local/dwmbar" export HISTCONTROL=ignoreboth # XDG (keep home dir clean) export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" export XDG_STATE_HOME="$HOME/.local/state" export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc" export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config" export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0" export LESSHISTFILE="-" export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc" export INPUTRC="${XDG_CONFIG_HOME:-$HOME/.config}/shell/inputrc" export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh" export GNUPGHOME="${XDG_DATA_HOME:-$HOME/.local/share}/gnupg" export WINEPREFIX="${XDG_DATA_HOME:-$HOME/.local/share}/wineprefixes/default" export KODI_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/kodi" export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/password-store" export TMUX_TMPDIR="$XDG_RUNTIME_DIR" export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android" export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo" export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go" export ANSIBLE_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/ansible/ansible.cfg" export UNISON="${XDG_DATA_HOME:-$HOME/.local/share}/unison" export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history" export WEECHAT_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/weechat" export MBSYNCRC="${XDG_CONFIG_HOME:-$HOME/.config}/mbsync/config" export ELECTRUMDIR="${XDG_DATA_HOME:-$HOME/.local/share}/electrum" [[ -f $HOME/.config/zsh/zshrc ]] && . $HOME/.config/zsh/zshrc if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then figlet "Welcome!" || echo "Welcome!" echo "Welcome to $osname." echo "Kernel: $ver" exec startx "$HOME/.config/x11/xinitrc" -- vt1 || echo "X failed to start." sleep 1 fi