aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-04 20:52:27 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-04 20:52:27 +0200
commitc51372b0453557f30a28ebe5571a16e99195adfe (patch)
treedd2a4571614514bde90345287905b1cdc69abea9 /modules/by-name
parentfix(modules/lf/ctpv/prev): Add required dependencies to previewers (diff)
downloadnixos-config-c51372b0453557f30a28ebe5571a16e99195adfe.zip
fix(modules/lf/ctpv/prev): Remove html preview
This detected too many files as html and as such was quite bothersome.
Diffstat (limited to 'modules/by-name')
-rw-r--r--modules/by-name/lf/lf/ctpv/prev/text/html/default.nix13
-rw-r--r--modules/by-name/lf/lf/ctpv/prev/text/html/elinks.sh13
2 files changed, 0 insertions, 26 deletions
diff --git a/modules/by-name/lf/lf/ctpv/prev/text/html/default.nix b/modules/by-name/lf/lf/ctpv/prev/text/html/default.nix
deleted file mode 100644
index 2a7a9a9f..00000000
--- a/modules/by-name/lf/lf/ctpv/prev/text/html/default.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{pkgs, ...}: {
- # TODO: I might want to use lynx/w3m instead <2024-11-24>
- soispha.programs.lf.ctpv.previewers = {
- elinks = {
- previewer = ./elinks.sh;
- priority = 1;
- matches.mime = ["text/html"];
- dependencies = [
- pkgs.elinks
- ];
- };
- };
-}
diff --git a/modules/by-name/lf/lf/ctpv/prev/text/html/elinks.sh b/modules/by-name/lf/lf/ctpv/prev/text/html/elinks.sh
deleted file mode 100644
index 86c65b8d..00000000
--- a/modules/by-name/lf/lf/ctpv/prev/text/html/elinks.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /usr/bin/env dash
-
-# shellcheck disable=SC2269
-f="$f"
-# shellcheck disable=SC2269
-w="$w"
-
-elinks \
- -dump 1 -dump-width "$w" \
- -no-references -no-numbering <"$f"
-
-# lynx -dump -nonumbers -nolist -width="$w" -- "$f"
-# w3m -dump "$f"