From: Arun Prakash Jana Date: Thu, 18 Apr 2019 14:11:39 +0000 (+0530) Subject: Move nlaunch from user-scripts X-Git-Tag: v2.5~97 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=12ce9451ee1c24ad245d33e8944ba77a1108b5b2;p=nnn.git Move nlaunch from user-scripts --- diff --git a/README.md b/README.md index 3b07b039..ab24f6a5 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ Option completion scripts for Bash, Fish and Zsh can be found in respective subd 2. Configure [cd on quit](https://github.com/jarun/nnn/wiki/hacking-nnn#cd-on-quit). 3. Optionally open all text files in `$EDITOR` (fallback vi): `export NNN_USE_EDITOR=1` 4. Run `n`. -5. To use `nnn` as a GUI app launcher with fuzzy selection menu, drop [`nlaunch`](https://github.com/jarun/nnn/blob/master/user-scripts/nlaunch) somewhere in your `$PATH`. +5. To use `nnn` as a GUI app launcher with fuzzy selection menu, drop [`nlaunch`](https://github.com/jarun/nnn/blob/master/scripts/nlaunch/nlaunch) somewhere in your `$PATH`. Note that the launcher requires fzy. 6. Don't memorize keys. Arrows, / and q suffice. Press ? for help on keyboard shortcuts anytime. - For additional functionality [setup custom scripts](#user-scripts). diff --git a/user-scripts/nlaunch b/scripts/nlaunch/nlaunch similarity index 93% rename from user-scripts/nlaunch rename to scripts/nlaunch/nlaunch index 7448ca91..18d0f8ba 100755 --- a/user-scripts/nlaunch +++ b/scripts/nlaunch/nlaunch @@ -4,6 +4,8 @@ # stdin, stdout, stderr are suppressed so CLI utilities exit silently. # Works as an independent app launcher. # +# Requires fzy. +# # Shell: POSIX compliant # Author: Arun Prakash Jana diff --git a/user-scripts/README.md b/user-scripts/README.md index 5b481c36..40aae409 100644 --- a/user-scripts/README.md +++ b/user-scripts/README.md @@ -8,7 +8,6 @@ | imgur | bash | [imgur](https://github.com/jomo/imgur-screenshot) | Upload an image to imgur | | kdeconnect | sh | kdeconnect-cli | Send selected files to an Android device | | ndiff | sh | vimdiff | File and directory diff for selection | -| nlaunch | sh | fzy | Drop-down app launcher. Copy in `$PATH`; fallback regular prompt | | nwal | sh | nitrogen | Set the selected image as wallpaper using nitrogen | | paste | sh | [pastebinit](https://launchpad.net/pastebinit) | Paste contents of current (text) file to paste.ubuntu.com | | picker | sh | nnn | Pick files and pipe the newline-separated list to another utility |