summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/bsdlist2
-rw-r--r--.config/lf/lfrc4
-rw-r--r--.config/x11/xresources6
-rwxr-xr-x.local/bin/dmscrot2
-rwxr-xr-x.local/bin/linkview12
5 files changed, 13 insertions, 13 deletions
diff --git a/.config/bsdlist b/.config/bsdlist
index e6ba734..3c374f3 100644
--- a/.config/bsdlist
+++ b/.config/bsdlist
@@ -1 +1 @@
-ImageMagick7 alacritty android-tools-adb arandr atool babl base64 bash bash-completion bat binutils bmon bsdinfo ccls checkbashisms chromium cmake cmdwatch colordiff compton coreutils cowsay cups cups-filters curl dash dejavu devcpu-data devcpu-data-intel dialog4ports djvulibre drm-fbsd13-kmod drm-kmod dunst emacs espeak exa feh ffmpeg figlet firefox flac font-adobe-100dpi font-adobe-75dpi font-adobe-utopia-100dpi font-adobe-utopia-75dpi font-adobe-utopia-type1 font-alias font-arabic-misc font-bh-100dpi font-bh-75dpi font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi font-bh-ttf font-bh-type1 font-bitstream-100dpi font-bitstream-75dpi font-bitstream-type1 font-cronyx-cyrillic font-cursor-misc font-daewoo-misc font-dec-misc font-ibm-type1 font-isas-misc font-jis-misc font-micro-misc font-misc-cyrillic font-misc-ethiopic font-misc-meltho font-misc-misc font-mutt-misc font-schumacher-misc font-screen-cyrillic font-sony-misc font-sun-misc font-util font-winitzki-cyrillic font-xfree86-type1 fontconfig fortune-mod-freebsd-classic fossil freetype2 fusefs-ext2 fusefs-libs fusefs-ntfs fzf gawk gcc gnugrep gnupg gnutls go gotop gpu-firmware-kmod groff gsed gstreamer1 gstreamer1-plugins gstreamer1-plugins-bad gstreamer1-plugins-gl gstreamer1-plugins-good highlight hs-ShellCheck html2text htop iftop irssi jnettop joe lf libFS libGLU libICE libSM libX11 libXScrnSaver libXau libXaw libXcomposite libXcursor libXdamage libXdmcp libXext libXfixes libXfont libXfont2 libXft libXi libXinerama libXmu libXpm libXrandr libXrender libXres libXt libXtst libXv libXvMC libXxf86dga libXxf86vm libao libarc libarchive libass libassuan libatomic_ops libb64 libbluray libcaca libcddb libcdio libcdio-paranoia libcdr01 libconfig libconfuse libdaemon libdatrie libdmx libdrm libdvdcss libdvdnav libdvdread libedit libepoll-shim libepoxy libevdev libevent libexif libffi libfmt libfontenc libgcrypt libgd libgit2 libglvnd libgme libgpg-error libgsasl libgsf libgudev libiconv libid3tag libidn libidn2 libinotify libinput libircclient libjxl libksba liblqr-1 libltdl liblz4 libmad libmediainfo libmikmod libmng libmodplug libmpdclient libmspack libmtdev libmypaint libmysofa libnatpmp libnghttp2 libnotify libnsgif libntlm libogg libopusenc libotf libpaper libpci libpciaccess libplacebo libpotrace libproxy libpsl libpthread-stubs libqrencode libraqm libraw librevenge librsvg2-rust librtmp libsamplerate libsecret libsigc++ libsignal-client libsigsegv libsndfile libsoup libsoxr libspectre libspiro libssh2 libsunacl libsysctlmibinfo2 libsysinfo libtasn1 libtermkey libtextstyle libthai libtheora libticonv libtool libublio libudev-devd libunistring libunwind libuv libv4l libva libvdpau libvorbis libvpx libvterm libwacom libwmf libwpe libx264 libxcb libxkbcommon libxkbfile libxls libxlsxwriter libxml++ libxml2 libxshmfence libxslt libyaml libzen libzip lsblk lsof lynis lynx markdown mediainfo mesa-demos mesa-dri mesa-libs mixertui mkfontscale moreutils mpv mupdf musicpc musicpd nasm ncdu ncmpc ncpamixer ncurses neofetch neovim nerd-fonts nethogs nmap noto-basic oath-toolkit odt2txt oldschool-pc-fonts openal-soft opencl openexr openh264 openjdk11 openjpeg openldap24-client openssl p5-Authen-SASL p5-Business-ISBN p5-Business-ISBN-Data p5-Business-ISMN p5-Business-ISSN p5-CGI p5-Cairo p5-Cairo-GObject p5-Capture-Tiny p5-Class-Inspector p5-Clone p5-Config-AutoConf p5-Data-Compare p5-Data-Dump p5-Date-Simple p5-Digest-HMAC p5-Encode-HanExtra p5-Encode-JIS2K p5-Encode-Locale p5-Error p5-Exporter-Tiny p5-ExtUtils-Depends p5-ExtUtils-LibBuilder p5-ExtUtils-PkgConfig p5-File-Find-Rule p5-File-HomeDir p5-File-ShareDir p5-File-Slurp p5-File-Slurp-Tiny p5-File-Which p5-GSSAPI p5-Glib p5-Glib-Object-Introspection p5-Gtk3 p5-HTML-Parser p5-HTML-Tagset p5-HTTP-Date p5-HTTP-Message p5-IO-HTML p5-IO-Socket-INET6 p5-IO-Socket-SSL p5-IO-Tty p5-IPC-Cmd p5-IPC-Run p5-IPC-Run3 p5-LWP-MediaTypes p5-List-AllUtils p5-List-MoreUtils p5-List-MoreUtils-XS p5-List-SomeUtils p5-List-SomeUtils-XS p5-List-UtilsBy p5-Locale-gettext p5-Locale-libintl p5-Log-Log4perl p5-MIME-Charset p5-Module-Build p5-Module-Implementation p5-Module-Runtime p5-Mozilla-CA p5-Net-SSLeay p5-Number-Compare p5-Parse-Yapp p5-Regexp-Common p5-SGMLSpm p5-Scalar-List-Utils p5-Socket6 p5-Term-ReadKey p5-Text-BibTeX p5-Text-Glob p5-Text-Roman p5-Text-Unidecode p5-TimeDate p5-Try-Tiny p5-URI p5-Unicode-Collate p5-Unicode-EastAsianWidth p5-Unicode-LineBreak p5-Unicode-String p5-XML-LibXML p5-XML-LibXML-Simple p5-XML-LibXSLT p5-XML-NamespaceSupport p5-XML-Parser p5-XML-SAX p5-XML-SAX-Base p5-XML-Writer p5-YAML-Tiny p5-autovivification p5-docx2txt p5-subversion p7zip pass-otp password-store pcre pcre2 perl5 pfetch png polkit poppler poppler-data poppler-glib poppler-utils portaudio portmidi protobuf psutils pulseaudio pv pwgen python38 rar rsync sbcl sc-im scli scrcpy screenFetch scrot setxkbmap shuf slim slim-themes slock sndio sox sudo sysctlbyname-improved-kmod sysctlinfo-kmod tex-basic-engines tex-dvipsk tex-formats tex-jadetex tex-kpathsea tex-ptexenc tex-synctex tex-web2c tex-xmltex texi2html texinfo texlive-base texlive-texmf texlive-tlmgr the_silver_searcher tokei tor torsocks transmission-cli transmission-daemon transmission-utils tree ufetch universal-ctags usbtop w3m webcamd webp webrtc-audio-processing0 wget x265 xbacklight xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xclip xcursor-themes xdg-utils xdpyinfo xdriinfo xev xf86-input-keyboard xf86-input-libinput xf86-input-mouse xf86-video-intel xf86-video-scfb xf86dga xhost xinit xinput xkbcomp xkbevd xkbutils xkeyboard-config xorg xorg-apps xorg-cf-files xorg-docs xorg-drivers xorg-fonts xorg-fonts-100dpi xorg-fonts-75dpi xorg-fonts-cyrillic xorg-fonts-miscbitmaps xorg-fonts-truetype xorg-fonts-type1 xorg-libraries xorg-macros xorg-server xprop xrandr xrdb xrefresh xset xsetroot yasm yt-dlp zathura zathura-cb zathura-djvu zathura-pdf-mupdf zathura-ps zip zsh
+ImageMagick7 alacritty android-tools-adb arandr atool babl base64 bash bash-completion bat binutils bmon bsdinfo ccls checkbashisms chromium cmake cmdwatch colordiff compton coreutils cowsay cups cups-filters curl dash dejavu devcpu-data devcpu-data-intel dialog4ports djvulibre drm-fbsd13-kmod drm-kmod dunst emacs espeak exa feh ffmpeg figlet firefox flac font-adobe-100dpi font-adobe-75dpi font-adobe-utopia-100dpi font-adobe-utopia-75dpi font-adobe-utopia-type1 font-alias font-arabic-misc font-bh-100dpi font-bh-75dpi font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi font-bh-ttf font-bh-type1 font-bitstream-100dpi font-bitstream-75dpi font-bitstream-type1 font-cronyx-cyrillic font-cursor-misc font-daewoo-misc font-dec-misc font-ibm-type1 font-isas-misc font-jis-misc font-micro-misc font-misc-cyrillic font-misc-ethiopic font-misc-meltho font-misc-misc font-mutt-misc font-schumacher-misc font-screen-cyrillic font-sony-misc font-sun-misc font-util font-winitzki-cyrillic font-xfree86-type1 fontconfig fortune-mod-freebsd-classic fossil freetype2 fusefs-ext2 fusefs-libs fusefs-ntfs fzf gawk gcc gnugrep gnupg gnutls go gotop gpu-firmware-kmod groff gsed gstreamer1 gstreamer1-plugins gstreamer1-plugins-bad gstreamer1-plugins-gl gstreamer1-plugins-good highlight hs-ShellCheck html2text htop iftop irssi jnettop joe lf libFS libGLU libICE libSM libX11 libXScrnSaver libXau libXaw libXcomposite libXcursor libXdamage libXdmcp libXext libXfixes libXfont libXfont2 libXft libXi libXinerama libXmu libXpm libXrandr libXrender libXres libXt libXtst libXv libXvMC libXxf86dga libXxf86vm libao libarc libarchive libass libassuan libatomic_ops libb64 libbluray libcaca libcddb libcdio libcdio-paranoia libcdr01 libconfig libconfuse libdaemon libdatrie libdmx libdrm libdvdcss libdvdnav libdvdread libedit libepoll-shim libepoxy libevdev libevent libexif libffi libfmt libfontenc libgcrypt libgd libgit2 libglvnd libgme libgpg-error libgsasl libgsf libgudev libiconv libid3tag libidn libidn2 libinotify libinput libircclient libjxl libksba liblqr-1 libltdl liblz4 libmad libmediainfo libmikmod libmng libmodplug libmpdclient libmspack libmtdev libmypaint libmysofa libnatpmp libnghttp2 libnotify libnsgif libntlm libogg libopusenc libotf libpaper libpci libpciaccess libplacebo libpotrace libproxy libpsl libpthread-stubs libqrencode libraqm libraw librevenge librsvg2-rust librtmp libsamplerate libsecret libsigc++ libsignal-client libsigsegv libsndfile libsoup libsoxr libspectre libspiro libssh2 libsunacl libsysctlmibinfo2 libsysinfo libtasn1 libtermkey libtextstyle libthai libtheora libticonv libtool libublio libudev-devd libunistring libunwind libuv libv4l libva libvdpau libvorbis libvpx libvterm libwacom libwmf libwpe libx264 libxcb libxkbcommon libxkbfile libxls libxlsxwriter libxml++ libxml2 libxshmfence libxslt libyaml libzen libzip lsblk lsof lynis lynx markdown mediainfo mesa-demos mesa-dri mesa-libs mixertui mkfontscale moreutils mpv mupdf musicpc musicpd nasm ncdu ncmpc ncpamixer ncurses neofetch neovim nerd-fonts nethogs nmap noto-basic nsxiv oath-toolkit odt2txt oldschool-pc-fonts openal-soft opencl openexr openh264 openjdk11 openjpeg openldap24-client openssl p5-Authen-SASL p5-Business-ISBN p5-Business-ISBN-Data p5-Business-ISMN p5-Business-ISSN p5-CGI p5-Cairo p5-Cairo-GObject p5-Capture-Tiny p5-Class-Inspector p5-Clone p5-Config-AutoConf p5-Data-Compare p5-Data-Dump p5-Date-Simple p5-Digest-HMAC p5-Encode-HanExtra p5-Encode-JIS2K p5-Encode-Locale p5-Error p5-Exporter-Tiny p5-ExtUtils-Depends p5-ExtUtils-LibBuilder p5-ExtUtils-PkgConfig p5-File-Find-Rule p5-File-HomeDir p5-File-ShareDir p5-File-Slurp p5-File-Slurp-Tiny p5-File-Which p5-GSSAPI p5-Glib p5-Glib-Object-Introspection p5-Gtk3 p5-HTML-Parser p5-HTML-Tagset p5-HTTP-Date p5-HTTP-Message p5-IO-HTML p5-IO-Socket-INET6 p5-IO-Socket-SSL p5-IO-Tty p5-IPC-Cmd p5-IPC-Run p5-IPC-Run3 p5-LWP-MediaTypes p5-List-AllUtils p5-List-MoreUtils p5-List-MoreUtils-XS p5-List-SomeUtils p5-List-SomeUtils-XS p5-List-UtilsBy p5-Locale-gettext p5-Locale-libintl p5-Log-Log4perl p5-MIME-Charset p5-Module-Build p5-Module-Implementation p5-Module-Runtime p5-Mozilla-CA p5-Net-SSLeay p5-Number-Compare p5-Parse-Yapp p5-Regexp-Common p5-SGMLSpm p5-Scalar-List-Utils p5-Socket6 p5-Term-ReadKey p5-Text-BibTeX p5-Text-Glob p5-Text-Roman p5-Text-Unidecode p5-TimeDate p5-Try-Tiny p5-URI p5-Unicode-Collate p5-Unicode-EastAsianWidth p5-Unicode-LineBreak p5-Unicode-String p5-XML-LibXML p5-XML-LibXML-Simple p5-XML-LibXSLT p5-XML-NamespaceSupport p5-XML-Parser p5-XML-SAX p5-XML-SAX-Base p5-XML-Writer p5-YAML-Tiny p5-autovivification p5-docx2txt p5-subversion p7zip pass-otp password-store pcre pcre2 perl5 pfetch png polkit poppler poppler-data poppler-glib poppler-utils portaudio portmidi protobuf psutils pulseaudio pv pwgen python38 rar rsync sbcl sc-im scli scrcpy screenFetch scrot setxkbmap shuf slim slim-themes slock sndio sox sudo sysctlbyname-improved-kmod sysctlinfo-kmod tex-basic-engines tex-dvipsk tex-formats tex-jadetex tex-kpathsea tex-ptexenc tex-synctex tex-web2c tex-xmltex texi2html texinfo texlive-base texlive-texmf texlive-tlmgr the_silver_searcher tokei tor torsocks transmission-cli transmission-daemon transmission-utils tree ufetch universal-ctags usbtop w3m webcamd webp webrtc-audio-processing0 wget x265 xbacklight xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xclip xcursor-themes xdg-utils xdpyinfo xdriinfo xev xf86-input-keyboard xf86-input-libinput xf86-input-mouse xf86-video-intel xf86-video-scfb xf86dga xhost xinit xinput xkbcomp xkbevd xkbutils xkeyboard-config xorg xorg-apps xorg-cf-files xorg-docs xorg-drivers xorg-fonts xorg-fonts-100dpi xorg-fonts-75dpi xorg-fonts-cyrillic xorg-fonts-miscbitmaps xorg-fonts-truetype xorg-fonts-type1 xorg-libraries xorg-macros xorg-server xprop xrandr xrdb xrefresh xset xsetroot yasm yt-dlp zathura zathura-cb zathura-djvu zathura-pdf-mupdf zathura-ps zip zsh
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index a36afba..7e88f90 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -22,7 +22,7 @@ cmd open ${{
image/x-xcf) bsdsetsid gimp $f >/dev/null 2>&1 ;;
image/svg+xml) display -- $f ;;
image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" |
- bsdsetsid sxiv -aibof 2>/dev/null | while read -r file; do
+ bsdsetsid nsxiv -aibof 2>/dev/null | while read -r file; do
[ -z "$file" ] && continue
lf -remote "send select \"$file\""
lf -remote "send toggle"
@@ -39,7 +39,7 @@ cmd open ${{
cmd mkdir $mkdir -p "$(echo $* | sed 's/ /\ /g')"
cmd bulkrename $vidir $fx
-cmd showallpics $exa *.png *.jpg *.jpeg *.gif *.webp *.tif *.ico 2>/dev/null | sxiv -taib &
+cmd showallpics $exa *.png *.jpg *.jpeg *.gif *.webp *.tif *.ico 2>/dev/null | nsxiv -taib &
cmd newtermedit $EDITOR $fx
map gr cd /
diff --git a/.config/x11/xresources b/.config/x11/xresources
index e5e5f6a..78a2ef2 100644
--- a/.config/x11/xresources
+++ b/.config/x11/xresources
@@ -7,6 +7,6 @@ Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Xcursor.theme: redglass
Xcursor.size: 18
-Sxiv.background: #1d2021
-Sxiv.foreground: #ebdbb2
-Sxiv.font: UbuntuMono Nerd Font-11
+Nsxiv.window.background: #1d2021
+Nsxiv.window.foreground: #ebdbb2
+Nsxiv.bar.font: UbuntuMono Nerd Font-11
diff --git a/.local/bin/dmscrot b/.local/bin/dmscrot
index e68f258..5935491 100755
--- a/.local/bin/dmscrot
+++ b/.local/bin/dmscrot
@@ -6,7 +6,7 @@ use File::HomeDir qw(home);
use constant {
SAVE_PATH => 'pics/scrot/',
SCREENSHOT_PATH => '/usr/local/bin/scrot',
- IMGVIEW_PATH => '/usr/local/bin/sxiv',
+ IMGVIEW_PATH => '/usr/local/bin/nsxiv',
XCLIP_PATH => '/usr/local/bin/xclip'
};
use constant LIST => [
diff --git a/.local/bin/linkview b/.local/bin/linkview
index cf8d983..515bb85 100755
--- a/.local/bin/linkview
+++ b/.local/bin/linkview
@@ -16,7 +16,7 @@ use constant {
MPV_PATH => '/usr/local/bin/mpv',
YTDL_PATH => '/usr/local/bin/yt-dlp',
FETCH_PATH => '/usr/bin/fetch',
- SXIV_PATH => '/usr/local/bin/sxiv',
+ IMGVIEW_PATH => '/usr/local/bin/nsxiv',
ZATHURA_PATH => '/usr/local/bin/zathura',
W3M_PATH => '/usr/local/bin/w3m',
BROWSER_PATH => '/usr/local/bin/firefox',
@@ -28,7 +28,7 @@ use constant PROG_LIST => "" .
"youtube-dl" . "\n" .
"youtube-dl thumbnail" . "\n" .
"fetch" . "\n" .
-"sxiv" . "\n" .
+"nsxiv" . "\n" .
"zathura" . "\n" .
"w3m" . "\n" .
"firefox" . "\n";
@@ -301,12 +301,12 @@ sub open_link
$file_name = $tmp;
$file_name =~ s/.+\///g;
chomp $file_name;
- system(SXIV_PATH, '-f', '-b', '-a', $file_name);
+ system(IMGVIEW_PATH, '-f', '-b', '-a', $file_name);
unlink($file_name);
exit 0;
}
}
- elsif ($a eq "sxiv" || $a eq "zathura") {
+ elsif ($a eq "nsxiv" || $a eq "zathura") {
$pid = fork();
if (not $pid) {
setsid();
@@ -321,8 +321,8 @@ sub open_link
' fetching <b>'. $file_name . '</b> to <b>/tmp</b>'
);
system(FETCH_PATH, '-q', $url);
- if ($a == "sxiv") {
- exec(SXIV_PATH, '-b', '-a', $file_name);
+ if ($a == "nsxiv") {
+ exec(IMGVIEW_PATH, '-b', '-a', $file_name);
}
else {
exec(ZATHURA_PATH, $file_name);