dotfiles

Yes, my $HOME has a git repo now :(

git clone git://git.shimmy1996.com/dotfiles.git

.profile (1590B)

    1 #!/usr/bin/env bash
    2 
    3 # Keyboard settings.
    4 if [[ $(hostname) == "bluebear" ]]; then
    5     export XKB_DEFAULT_OPTIONS=ctrl:swapcaps
    6 fi
    7 
    8 # Add `~/.local/bin/` to path.
    9 export PATH=$HOME/.local/bin:$PATH
   10 
   11 # Go settings.
   12 export GO111MODULE=on
   13 export GOPATH=$HOME/.go
   14 export PATH=$GOPATH/bin:$PATH
   15 
   16 # Nim executables
   17 export PATH=$HOME/.nimble/bin:$PATH
   18 
   19 # Rust executables
   20 export PATH=$HOME/.cargo/bin:$PATH
   21 
   22 # Fcitx fixes
   23 export XMODIFIERS=@im=fcitx
   24 export QT_IM_MODULE=fcitx
   25 export GTK_IM_MODULE=fcitx
   26 
   27 # Picard Fixes
   28 export QT_FONT_DPI=96
   29 
   30 # Preferred applications
   31 export TERMINAL="alacritty"
   32 export BROWSER="firefox"
   33 export EDITOR="emacsclient"
   34 export VISUAL="emacsclient"
   35 
   36 # NETHACK config
   37 export NETHACKOPTIONS="@$HOME/.config/nethack/nethackrc"
   38 
   39 # fzf color scheme.
   40 _gen_fzf_default_opts() {
   41     local color00='#262626'
   42     local color01='#3a3a3a'
   43     local color02='#4e4e4e'
   44     local color03='#8a8a8a'
   45     local color04='#949494'
   46     local color05='#dab997'
   47     local color06='#d5c4a1'
   48     local color07='#ebdbb2'
   49     local color08='#d75f5f'
   50     local color09='#ff8700'
   51     local color0A='#ffaf00'
   52     local color0B='#afaf00'
   53     local color0C='#85ad85'
   54     local color0D='#83adad'
   55     local color0E='#d485ad'
   56     local color0F='#d65d0e'
   57 
   58     export FZF_DEFAULT_OPTS="
   59   --color=bg+:$color01,bg:$color00,spinner:$color0C,hl:$color0D
   60   --color=fg:$color04,header:$color0D,info:$color0A,pointer:$color0C
   61   --color=marker:$color0C,fg+:$color06,prompt:$color0A,hl+:$color0D
   62 --height=40%
   63 "
   64 }
   65 
   66 _gen_fzf_default_opts
   67 
   68 # Auto start tbsm after login on first two VTs.
   69 [[ $XDG_VTNR -le 2 ]] && tbsm