]> git.friedersdorff.com Git - max/dotfiles.git/blob - bash/.bash_profile
Add slight gaps between windows
[max/dotfiles.git] / bash / .bash_profile
1 export EDITOR="vim"
2 export PATH="/home/max/.local/bin:${PATH}"
3 export TMPDIR="/home/max/.local/tmp"
4
5 if [ -n "$BASH_VERSION" ]; then
6   # include .bashrc if it exists
7   if [ -f "$HOME/.bashrc" ]; then
8     . "$HOME/.bashrc"
9   fi
10 fi
11
12 if [ -f /etc/bash_completion ]; then
13   . /etc/bash_completion
14 fi
15
16 export PATH="$HOME/.cargo/bin:$PATH"
17
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}"
23   fi
24 fi
25
26 export QT_QPA_PLATFORM=wayland-egl
27
28 if [ -f ~/.config/sway/config.base ]; then
29   cat ~/.config/sway/config.base ~/.config/sway/config.${HOSTNAME} > ~/.config/sway/config
30 fi
31
32 if [ -f ~/.Xresources ]; then
33   cat ~/.Xresources > ~/.Xdefaults
34   if [ -f ~/.Xresources.$HOSTNAME ]; then
35     cat ~/.Xresources.$HOSTNAME >> ~/.Xdefaults
36   fi
37 fi
38
39 if [ -f ~/.config/termite/config.base ]; then
40   cat ~/.config/termite/config.base ~/.config/termite/config.${HOSTNAME} > \
41         ~/.config/termite/config
42 fi
43
44
45 if [ $HOSTNAME = "magnesium" ]; then
46   export XKB_DEFAULT_LAYOUT=us
47   export XKB_DEFAULT_VARIANT=colemak
48   export XKB_DEFAULT_OPTIONS=ctrl:nocaps
49 fi
50
51 if [ $HOSTNAME = "platinum" ]; then
52   export XKB_DEFAULT_LAYOUT=gb
53   export XKB_DEFAULT_VARIANT=colemak
54   export XKB_DEFAULT_OPTIONS=ctrl:nocaps
55 fi