UP  |  HOME

Profile

Listing 1: ~/.profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
export XDG_STATE_HOME=$HOME/.local/state
export XDG_CACHE_HOME=$HOME/.cache

export MPD_HOST=hostname.domain
export MPD_PORT=6600
export STEAM_FRAME_FORCE_CLOSE=1
export PDFVIEWER=atril
export PDFVIEWER_texdoc=atril
export TEXDOC_VIEWER_PDF=atril
export CALIBRE_USE_SYSTEM_THEME=1
export GTK_OVERLAY_SCROLLING=0
export QT_QPA_PLATFORMTHEME=qt5ct
export LC_COLLATE=C
export WINIT_X11_SCALE_FACTOR=1
export MOZ_USE_XINPUT2=1
export MOZ_DISABLE_RDD_SANDBOX=1
export MOZ_X11_EGL=1
# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
        . "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
    PATH="$HOME/.local/bin:$PATH"
fi

. "$HOME/.cargo/env"