mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Add sample user scripts
This commit is contained in:
parent
9ecab2b30b
commit
5675edebc7
8
scripts/user-scripts/fzy.sh
Normal file
8
scripts/user-scripts/fzy.sh
Normal file
|
@ -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
|
8
scripts/user-scripts/sxiv.sh
Normal file
8
scripts/user-scripts/sxiv.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue