THEAARBS profile

Raw

#!/bin/bash
#                   __ _ _
#  _ __  _ __ ___  / _(_) | ___
# | '_ \| '__/ _ \| |_| | |/ _ \
# | |_) | | | (_) |  _| | |  __/
# | .__/|_|  \___/|_| |_|_|\___|
# |_|
#
# ~/.profile

[[ $LANG = '' ]] && export LANG=en_US.UTF-8

export PATH="$(du $HOME/.local/bin/ | cut -f2 | tr '\n' ':')$PATH"
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
export TERMINAL="st"
export FILE="ranger"
export EDITOR="vim"
export READER="zathura"
export BROWSER="surf -d -m"
export IMGVIEWER="sxiv -a"
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
export SHOW_MOONPHASE=1           # 1 = enabled; 0 = disabled

export TERMCMD="st"
export QT_STYLE_OVERRIDE="gtk"
export QT_SELECT="qt5"
export RTV_EDITOR="vim"
export RTV_BROWSER="linkhandler"
export RTV_URLVIEWER="urlscan -dc -r 'linkhandler {}'"
export NNN_USE_EDITOR=1
export NNN_BMS='h:~/;d:~/Documents;p:~/Pictures;D:~/Downloads;r:/'
export TOR="$HOME/Tor/tor-browser_en-US/Browser/start-tor-browser --detach"

# less/man colors
export LESS=-R
export LESS_TERMCAP_mb=$'\E[1;31m'    # begin bold
export LESS_TERMCAP_md=$'\E[1;36m'    # begin blink
export LESS_TERMCAP_me=$'\E[0m'       # reset bold/blink
export LESS_TERMCAP_so=$'\E[01;44;33m'    # begin reverse video
export LESS_TERMCAP_se=$'\E[0m'       # reset reverse video
export LESS_TERMCAP_us=$'\E[1;32m'    # begin underline
export LESS_TERMCAP_ue=$'\E[0m'       # reset underline

#mpd >/dev/null 2>&1 &

echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc"

[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx

categories · links · piano · posts · scripts · THEAARBS · home