aboutsummaryrefslogtreecommitdiffstats
path: root/user-scripts
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-18 19:41:39 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-18 19:41:39 +0530
commit12ce9451ee1c24ad245d33e8944ba77a1108b5b2 (patch)
treef7219625e7c50dc7dc14ac42d2d21ef72e3c6efa /user-scripts
parenta80ed0554dc677a26aca8a7a967cd60e1192edd4 (diff)
downloadnnn-12ce9451ee1c24ad245d33e8944ba77a1108b5b2.tar.gz
Move nlaunch from user-scripts
Diffstat (limited to 'user-scripts')
-rw-r--r--user-scripts/README.md1
-rwxr-xr-xuser-scripts/nlaunch18
2 files changed, 0 insertions, 19 deletions
diff --git a/user-scripts/README.md b/user-scripts/README.md
index 5b481c3..40aae40 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 |
diff --git a/user-scripts/nlaunch b/user-scripts/nlaunch
deleted file mode 100755
index 7448ca9..0000000
--- a/user-scripts/nlaunch
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env sh
-
-# Description: Fuzzy find executables in $PATH and launch an application.
-# stdin, stdout, stderr are suppressed so CLI utilities exit silently.
-# Works as an independent app launcher.
-#
-# Shell: POSIX compliant
-# Author: Arun Prakash Jana
-
-IFS=':'
-
-get_selection() {
- ls -H $PATH | sort | fzy
-}
-
-if selection=$( get_selection ); then
- "$selection" 2>/dev/null 1>/dev/null &
-fi