TRUEBROWSER bs removed

This commit is contained in:
Luke Smith 2018-12-04 21:32:17 -05:00
parent 08c2846ba5
commit e91c376a65
2 changed files with 4 additions and 11 deletions

View file

@ -1,6 +1,7 @@
#show-read-feeds no
auto-reload yes auto-reload yes
external-url-viewer "urlscan -dc" external-url-viewer "urlscan -dc -r 'linkhandler {}'"
bind-key j down bind-key j down
bind-key k up bind-key k up
@ -36,5 +37,4 @@ macro a set browser "tsp youtube-dl --add-metadata -xic -f bestaudio/best"; open
macro v set browser "setsid nohup mpv"; open-in-browser ; set browser linkhandler macro v set browser "setsid nohup mpv"; open-in-browser ; set browser linkhandler
macro w set browser "w3m"; open-in-browser ; set browser linkhandler macro w set browser "w3m"; open-in-browser ; set browser linkhandler
macro p set browser "dmenuhandler"; open-in-browser ; set browser linkhandler macro p set browser "dmenuhandler"; open-in-browser ; set browser linkhandler
# c copies the link to the clipboard.
macro c set browser "xsel -b <<<" ; open-in-browser ; set browser linkandler macro c set browser "xsel -b <<<" ; open-in-browser ; set browser linkandler

View file

@ -1,16 +1,11 @@
#!/bin/sh #!/bin/sh
# Profile file. Runs on login. # Profile file. Runs on login.
# variables and default programs:
# Adds `~/.scripts` and all subdirectories to $PATH # Adds `~/.scripts` and all subdirectories to $PATH
export PATH="$(du $HOME/.scripts/ | cut -f2 | tr '\n' ':')$PATH" export PATH="$(du $HOME/.scripts/ | cut -f2 | tr '\n' ':')$PATH"
export EDITOR="vim" export EDITOR="vim"
export TERMINAL="st" export TERMINAL="st"
# Link handler is set as the $BROWSER for use with urlscan. export BROWSER="firefox"
# Set your real browser in $TRUEBROWSER.
export BROWSER="linkhandler"
export TRUEBROWSER="firefox"
export READER="zathura" export READER="zathura"
export BIB="$HOME/Documents/LaTeX/uni.bib" export BIB="$HOME/Documents/LaTeX/uni.bib"
export REFER="$HOME/.referbib" export REFER="$HOME/.referbib"
@ -32,9 +27,7 @@ export LESS_TERMCAP_ue=$'\E[0m' # reset underline
[ -f ~/.bashrc ] && source ~/.bashrc [ -f ~/.bashrc ] && source ~/.bashrc
# Start graphical server if i3 not already running. # Start graphical server if i3 not already running.
if [ "$(tty)" = "/dev/tty1" ]; then [ "$(tty)" = "/dev/tty1" ] && pgrep -x i3 >/dev/null || exec startx
pgrep -x i3 || exec startx
fi
# Switch escape and caps and use wal colors if tty: # Switch escape and caps and use wal colors if tty:
sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null