2 export PATH="/home/max/.local/bin:${PATH}"
3 export TMPDIR="/home/max/.local/tmp"
5 if [ -n "$BASH_VERSION" ]; then
6 # include .bashrc if it exists
7 if [ -f "$HOME/.bashrc" ]; then
12 if [ -f /etc/bash_completion ]; then
13 . /etc/bash_completion
16 export PATH="$HOME/.cargo/bin:$PATH"
18 if test -z "${XDG_RUNTIME_DIR}"; then
19 export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
20 if ! test -d "${XDG_RUNTIME_DIR}"; then
21 mkdir "${XDG_RUNTIME_DIR}"
22 chmod 0700 "${XDG_RUNTIME_DIR}"
26 export QT_QPA_PLATFORM=wayland-egl
28 if [ -f ~/.config/sway/config.base ]; then
29 cat ~/.config/sway/config.base ~/.config/sway/config.${HOSTNAME} > ~/.config/sway/config
32 if [ -f ~/.Xresources ]; then
33 cat ~/.Xresources > ~/.Xdefaults
34 if [ -f ~/.Xresources.$HOSTNAME ]; then
35 cat ~/.Xresources.$HOSTNAME >> ~/.Xdefaults
40 if [ $HOSTNAME = "magnesium" ]; then
41 export XKB_DEFAULT_LAYOUT=us
42 export XKB_DEFAULT_VARIANT=colemak
43 export XKB_DEFAULT_OPTIONS=caps:ctrl_modifier
46 if [ $HOSTNAME = "platinum" ]; then
47 export XKB_DEFAULT_LAYOUT=gb
48 export XKB_DEFAULT_VARIANT=colemak
49 export XKB_DEFAULT_OPTIONS=caps:ctrl_modifier