summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-09-15 20:33:02 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-09-15 20:33:02 -0400
commitf17aacfadaafc2660a07721fcd39cb61bd526409 (patch)
treeff375a45849ebf3aacb57f5ed5fa63fa93cf7def /.profile
parent72614148b1fc3b7d0b5530b78182f2a0beca5faa (diff)
downloadeibhear-f17aacfadaafc2660a07721fcd39cb61bd526409.tar.gz
eibhear-f17aacfadaafc2660a07721fcd39cb61bd526409.tar.zst
eibhear-f17aacfadaafc2660a07721fcd39cb61bd526409.zip
linkhandler default browser with fixes
Diffstat (limited to '.profile')
-rw-r--r--.profile10
1 files changed, 5 insertions, 5 deletions
diff --git a/.profile b/.profile
index 6a385c1..917a57d 100644
--- a/.profile
+++ b/.profile
@@ -5,20 +5,20 @@
export PATH="$PATH:$HOME/.scripts"
export EDITOR="vim"
export TERMINAL="st"
-export BROWSER="firefox"
+export BROWSER="linkhandler"
+export TRUEBROWSER="firefox"
export READER="zathura"
export BIB="$HOME/Documents/LaTeX/uni.bib"
-. ~/.scripts/shortcuts.sh 2>/dev/null
+[ -f ~/.scripts/shortcuts.sh ] && ~/.scripts/shortcuts.sh
-[[ -f ~/.bashrc ]] && . ~/.bashrc
+[ -f ~/.bashrc ] && source ~/.bashrc
# Start graphical server if i3 not already running.
-if [[ "$(tty)" = "/dev/tty1" ]]; then
+if [ "$(tty)" = "/dev/tty1" ]; then
pgrep -x i3 || exec startx
fi
# Switch escape and caps and use wal colors if tty:
sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null
wal -Rn
-