nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 06d8da9052509057de1969ea3f208ebf4a0be417
parent 66447d52a793e6007e2195cde3ac267fe1d60b98
Author: Xerillic <xerillic@gmail.com>
Date:   Wed, 13 Sep 2023 19:53:55 -0400

wallpaper plugin: remove unneeded code

Diffstat:
Mplugins/wallpaper | 6------
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