summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-12-04 21:32:17 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-12-04 21:32:17 -0500
commite91c376a6564626cd66ba1354eb5840cb051f0e3 (patch)
treeaa26f84b8d35f23645727ad49ba98880ac6f683c /.profile
parent08c2846ba5128c3738323551bfdb874ebd6388ba (diff)
downloadeibhear-e91c376a6564626cd66ba1354eb5840cb051f0e3.tar.gz
eibhear-e91c376a6564626cd66ba1354eb5840cb051f0e3.tar.zst
eibhear-e91c376a6564626cd66ba1354eb5840cb051f0e3.zip
TRUEBROWSER bs removed
Diffstat (limited to '.profile')
-rw-r--r--.profile11
1 files changed, 2 insertions, 9 deletions
diff --git a/.profile b/.profile
index 0782876..a534506 100644
--- a/.profile
+++ b/.profile
@@ -1,16 +1,11 @@
#!/bin/sh
-
# Profile file. Runs on login.
-# variables and default programs:
# Adds `~/.scripts` and all subdirectories to $PATH
export PATH="$(du $HOME/.scripts/ | cut -f2 | tr '\n' ':')$PATH"
export EDITOR="vim"
export TERMINAL="st"
-# Link handler is set as the $BROWSER for use with urlscan.
-# Set your real browser in $TRUEBROWSER.
-export BROWSER="linkhandler"
-export TRUEBROWSER="firefox"
+export BROWSER="firefox"
export READER="zathura"
export BIB="$HOME/Documents/LaTeX/uni.bib"
export REFER="$HOME/.referbib"
@@ -32,9 +27,7 @@ export LESS_TERMCAP_ue=$'\E[0m' # reset underline
[ -f ~/.bashrc ] && source ~/.bashrc
# Start graphical server if i3 not already running.
-if [ "$(tty)" = "/dev/tty1" ]; then
- pgrep -x i3 || exec startx
-fi
+[ "$(tty)" = "/dev/tty1" ] && pgrep -x i3 >/dev/null || exec startx
# Switch escape and caps and use wal colors if tty:
sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null