dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 4bc992e8005abff49de9a9c9de73e43706e59227
parent 62a980c62110e9a9b7d5bac775b6bfc1156ec1e6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 12 Jun 2019 21:22:10 +0200

Add upload plugins

Diffstat:
A.config/nnn/plugins/upload | 4++++
A.config/nnn/plugins/upload-resize-image | 4++++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/.config/nnn/plugins/upload b/.config/nnn/plugins/upload @@ -0,0 +1,4 @@ +#!/bin/sh +if [ -n "$1" ]; then + upload "$1" +fi diff --git a/.config/nnn/plugins/upload-resize-image b/.config/nnn/plugins/upload-resize-image @@ -0,0 +1,4 @@ +#!/bin/sh +if [ -n "$1" ]; then + upload --border --resize --sharpen "$1" +fi