diff options
author | 2019-01-03 23:05:51 +0530 | |
---|---|---|
committer | 2019-01-03 23:05:51 +0530 | |
commit | 5675edebc709c2b3f5f7cabd5c66810997551e28 (patch) | |
tree | a710e8cbeca7063485d2bc2287880c3ad5defaa1 | |
parent | 9ecab2b30be3448697ac660aa97900b7d3a8e24c (diff) | |
download | nnn-5675edebc709c2b3f5f7cabd5c66810997551e28.tar.gz |
Add sample user scripts
-rw-r--r-- | scripts/user-scripts/fzy.sh | 8 | ||||
-rw-r--r-- | scripts/user-scripts/sxiv.sh | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/scripts/user-scripts/fzy.sh b/scripts/user-scripts/fzy.sh new file mode 100644 index 0000000..8bf5268 --- /dev/null +++ b/scripts/user-scripts/fzy.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +# Description: Fuzzy find files in directory subtree with fzy and open using xdg-open +# +# Shell: generic +# Author: Arun Prakash Jana + +xdg-open $(find -type f | fzy) >/dev/null 2>&1 diff --git a/scripts/user-scripts/sxiv.sh b/scripts/user-scripts/sxiv.sh new file mode 100644 index 0000000..2ee2398 --- /dev/null +++ b/scripts/user-scripts/sxiv.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +# Description: Open images in current directory in sxiv +# +# Shell: generic +# Author: Arun Prakash Jana + +sxiv -q * >/dev/null 2>&1 |