summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-04-13 15:00:51 +0200
committerJoe <rrbo@proton.me>2023-04-13 15:00:51 +0200
commit83119fe598ee445eb25867c038f7daafad06b8e3 (patch)
tree707bb981e1b077b9fb233c4ee3ea550eb6bfac02
parentup (diff)
downloaddotfiles-bsd-83119fe598ee445eb25867c038f7daafad06b8e3.tar.gz
dotfiles-bsd-83119fe598ee445eb25867c038f7daafad06b8e3.tar.bz2
dotfiles-bsd-83119fe598ee445eb25867c038f7daafad06b8e3.tar.xz
dotfiles-bsd-83119fe598ee445eb25867c038f7daafad06b8e3.tar.zst
dotfiles-bsd-83119fe598ee445eb25867c038f7daafad06b8e3.zip
up
-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())
};