commit ba439084c5a371822d248ef9a304e49ef52ec6a3
parent ed59aa2ac3e50be78a256b2f85c57c45dc2e7902
Author: Arun <engineerarun@gmail.com>
Date: Wed, 20 Sep 2023 17:51:22 +0530
Merge pull request #1728 from Xerillic/master
wallpaper plugin: remove unneeded code
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/plugins/wallpaper b/plugins/wallpaper
@@ -8,14 +8,8 @@
# Shell: POSIX compliant
# Author: juacq97
-selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}
resp=
-add_file ()
-{
- printf '%s\0' "$@" >> "$selection"
-}
-
if [ -n "$1" ]; then
if [ "$(file --mime-type "$1" | awk '{print $NF}' | awk -F '/' '{print $1}')" = "image" ]; then
if [ "$XDG_SESSION_TYPE" = "x11" ]; then