aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/user-scripts/fzy.sh8
-rw-r--r--scripts/user-scripts/sxiv.sh8
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