summaryrefslogtreecommitdiff
path: root/cli/meta/smolnet/bollux/fix_lesskey_nag.patch
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-06-25 18:36:11 -0700
committerFuwn <[email protected]>2024-06-25 18:36:11 -0700
commit6b8636e2d979532d98b10a4a8393165ba2d5864c (patch)
tree1f18f8256a77922880b67db682495d9cb24fe2cf /cli/meta/smolnet/bollux/fix_lesskey_nag.patch
parent. (diff)
downloadnixos-config-6b8636e2d979532d98b10a4a8393165ba2d5864c.tar.xz
nixos-config-6b8636e2d979532d98b10a4a8393165ba2d5864c.zip
hi
Diffstat (limited to 'cli/meta/smolnet/bollux/fix_lesskey_nag.patch')
-rw-r--r--cli/meta/smolnet/bollux/fix_lesskey_nag.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/cli/meta/smolnet/bollux/fix_lesskey_nag.patch b/cli/meta/smolnet/bollux/fix_lesskey_nag.patch
new file mode 100644
index 0000000..329b886
--- /dev/null
+++ b/cli/meta/smolnet/bollux/fix_lesskey_nag.patch
@@ -0,0 +1,13 @@
+diff --git i/bollux w/bollux
+index 267418e..090217e 100755
+--- i/bollux
++++ w/bollux
+@@ -1130,7 +1130,7 @@ display() { # display METADATA [TITLE]
+ # text, and pre-formatted text shouldn't wrap.
+ less_cmd+=(-S)
+ # Load the keybindings (see `lesskey').
+- mklesskey && less_cmd+=(-k "$BOLLUX_LESSKEY")
++ mklesskey && less_cmd+=(--lesskey-src="$BOLLUX_LESSKEY")
+ local helpline="${KEY_OPEN}:open, "
+ helpline+="${KEY_GOTO}/"
+ helpline+="${KEY_GOTO_FROM}:goto, "