summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/env2
-rwxr-xr-x.local/bin/linkview5
2 files changed, 4 insertions, 3 deletions
diff --git a/.config/env b/.config/env
index ef70134..5a70e19 100644
--- a/.config/env
+++ b/.config/env
@@ -30,7 +30,7 @@ export VISUAL="${EDITOR}"
export PAGER='less'
export MANPAGER='less'
export TERMINAL='alacritty'
-export BROWSER='iridium'
+export BROWSER='librewolf'
export READER='zathura'
export FILE='lf'
diff --git a/.local/bin/linkview b/.local/bin/linkview
index 916e0c5..121afad 100755
--- a/.local/bin/linkview
+++ b/.local/bin/linkview
@@ -7,6 +7,7 @@ use Scalar::Util qw(looks_like_number);
use File::HomeDir qw(home);
use File::Basename qw(basename);
use Cwd qw(cwd);
+use Env qw(BROWSER TERMINAL);
use Term::ReadKey;
use Capture::Tiny qw(capture);
use POSIX qw(setsid);
@@ -14,7 +15,7 @@ use feature qw(switch);
no warnings qw(experimental::smartmatch);
use constant {
- TERMINAL_PATH => 'st',
+ TERMINAL_PATH => $TERMINAL,
MPV_PATH => 'mpv',
YTDL_PATH => 'yt-dlp',
FETCH_PATH => 'fetch',
@@ -22,7 +23,7 @@ use constant {
IMGVIEW_PATH => 'nsxiv',
ZATHURA_PATH => 'zathura',
W3M_PATH => 'w3m',
- BROWSER_PATH => 'firefox',
+ BROWSER_PATH => $BROWSER,
NOTIFYSEND_PATH => 'notify-send',
HOSTNAME => (split /\./, hostname())
};