aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "$@"