From 6aed714347a34fa29d300b0cfa22adfa5f541ba0 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 30 Jan 2020 23:38:36 +0530 Subject: Run GUI app as plugin --- plugins/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins/README.md') diff --git a/plugins/README.md b/plugins/README.md index 316b3ad..d167455 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -101,6 +101,12 @@ Now ;x can be used to make a file executable, ;g can be us Now there will be no prompt after ;s and ;n. +#### Run GUI app as plugin + +To run a GUI app as plugin, add a `|` after `_`. For example: + + export NNN_PLUG='m:-_|mousepad $nnn' + Notes: 1. Use single quotes for `$NNN_PLUG` so `$nnn` is not interpreted @@ -117,7 +123,7 @@ Notes: | `l:_git log` | Show git log | | `n:-_vi /home/user/Dropbox/dir/note*` | Take quick notes in a synced file/dir of notes | | `p:-_less -iR $nnn*` | Page through hovered file in less | -| `s:_smplayer -minigui $nnn*` | Play hovered media file, even unfinished download | +| `s:-_\|smplayer -minigui $nnn` | Play hovered media file, even unfinished download | | `x:_chmod +x $nnn` | Make the hovered file executable | | `y:-_sync*` | Flush cached writes | -- cgit v1.2.3-70-g09d2