aboutsummaryrefslogtreecommitdiff
path: root/feh
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-05-10 22:57:02 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-05-10 22:57:02 +0200
commit3cd9138c9d8fb9be248c75330cca9da47f4d2e8a (patch)
treeb3b677a9c1a474589f45d20953028a987fa73b80 /feh
parent83f7fe4b8402bab171d110703a1b1115efbc9b28 (diff)
downloadbin-3cd9138c9d8fb9be248c75330cca9da47f4d2e8a.tar.gz
bin-3cd9138c9d8fb9be248c75330cca9da47f4d2e8a.zip
added a whole bunch of scripts
Diffstat (limited to 'feh')
-rwxr-xr-xfeh6
1 files changed, 6 insertions, 0 deletions
diff --git a/feh b/feh
new file mode 100755
index 0000000..3fd43fc
--- /dev/null
+++ b/feh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Wrapper: log file opens to fre, then exec real feh.
+for arg in "$@"; do
+ [ -f "$arg" ] && fre --add "$(readlink -f "$arg")" 2>/dev/null
+done
+exec /usr/bin/feh "$@"