diff options
| -rw-r--r-- | bash_profile | 37 | ||||
| -rw-r--r-- | bashrc | 6 |
2 files changed, 34 insertions, 9 deletions
diff --git a/bash_profile b/bash_profile index 9dc0667..ff2b42a 100644 --- a/bash_profile +++ b/bash_profile @@ -3,10 +3,8 @@ # BASH PROFILE # -# Helper Functions -exists() { - command -v $1 >/dev/null 2>&1 -} +# Load bashrc +[[ -f ~/.bashrc ]] && source ~/.bashrc # Custom Scripts scripts="~/repos/scripts" @@ -38,5 +36,32 @@ export LESS_TERMCAP_se=$'\e[0m' # end standout-mode export LESS_TERMCAP_us=$'\e[1;37m' # start underlining export LESS_TERMCAP_ue=$'\e[0m' # end underline -# Load bashrc -[[ -f ~/.bashrc ]] && source ~/.bashrc +# BEMENU +if exists bemenu; then + fg="#eeeeee" + bg="#000000" + mg="#111111" + hl="#00ffff" + export BEMENU_OPTS=" + --fn 'Hack Nerd Font' \ + --ignorecase \ + --no-spacing \ + --width-factor 0.4 \ + --line-height 20 \ + --list 10 \ + --border 2 \ + --border-radius 5 \ + --prompt '>' \ + --scroll always \ + --single-instance \ + --bdr $hl \ + --tb $mg --tf $hl \ + --cb $fg --cf $fg \ + --nb $bg --nf $fg \ + --hb $hl --hf $bg \ + --fb $mg --ff $fg \ + --sb '#00ff00' --sf '#0000ff' \ + --ab $bg --af $fg \ + --scb $bg --scf $hl + " +fi @@ -6,6 +6,9 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return +# Load aliases +[[ -f ~/.bash_aliases ]] && source ~/.bash_aliases + # Disable suspend/resume (ctrl-s, ctrl-q) stty -ixon @@ -44,6 +47,3 @@ function branch() { } export PS1="[$user@$host in $dir\$(branch)] " -# Load aliases -[[ -f ~/.bash_aliases ]] && source ~/.bash_aliases - |
