aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2021-05-06 20:41:41 -0400
committertdro <tdro@users.noreply.github.com>2021-05-06 20:41:41 -0400
commitd2a5b3bebbb900d39c57b806f5e2e956552eb93b (patch)
treef4c5aa578e7bc04170dbdbac0b27087d9c1d17c4
parent46cf369bfad4f49cd662d021e99682c8241bf337 (diff)
downloaddotfiles-d2a5b3bebbb900d39c57b806f5e2e956552eb93b.tar.gz
dotfiles-d2a5b3bebbb900d39c57b806f5e2e956552eb93b.tar.bz2
dotfiles-d2a5b3bebbb900d39c57b806f5e2e956552eb93b.zip
.bash_profile: Set default browser from .local/bin
-rw-r--r--.bash_profile2
-rw-r--r--.config/X11/Xresources6
-rwxr-xr-x.local/bin/browser2
3 files changed, 6 insertions, 4 deletions
diff --git a/.bash_profile b/.bash_profile
index e5144f0..efc1d89 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -44,7 +44,7 @@ export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
# general exports
-export BROWSER=chromium;
+export BROWSER=browser;
export CARGO_HOME="$XDG_CACHE_HOME/cargo"
export EDITOR=vim
export FZF_DIRECTORY_MARKS=$HOME/Documents/.fzf-marks
diff --git a/.config/X11/Xresources b/.config/X11/Xresources
index 375087d..e9445ae 100644
--- a/.config/X11/Xresources
+++ b/.config/X11/Xresources
@@ -2,10 +2,10 @@
! URxvt Settings
! -----------------
-URxvt.perl-ext-common: default,matcher,font-size,vtwheel,keyboard-select
+URxvt.perl-ext-common: default,matcher,font-size,vtwheel,url-select,keyboard-select
-URxvt.url-launcher: /usr/bin/env firefox
-URxvt.url-select.launcher: /usr/bin/env firefox
+URxvt.url-launcher: /usr/bin/env browser
+URxvt.url-select.launcher: /usr/bin/env browser
URxvt.keysym.M-Escape: perl:keyboard-select:activate
URxvt.matcher.button: 1
diff --git a/.local/bin/browser b/.local/bin/browser
new file mode 100755
index 0000000..dd9818c
--- /dev/null
+++ b/.local/bin/browser
@@ -0,0 +1,2 @@
+#!/bin/sh -eu
+BROWSER=chromium; $BROWSER "$@"