aboutsummaryrefslogtreecommitdiffstats
path: root/nlay
diff options
context:
space:
mode:
Diffstat (limited to 'nlay')
-rwxr-xr-xnlay10
1 files changed, 10 insertions, 0 deletions
diff --git a/nlay b/nlay
index f68d35c..23890b0 100755
--- a/nlay
+++ b/nlay
@@ -83,6 +83,16 @@ elif [ "$2" == "screensaver" ]; then
type -P $app &>/dev/null &&
eval $app $opts $bg
exit 0
+
+#------------------ SCRIPT ------------------
+elif [ "$2" == "script" ]; then
+ # add commands or a custom script below
+
+ # echo "my commands or custom script"
+ # sh "path_to_script.sh"
+ $SHELL "$1"
+
+ exit 0
fi
#----------------- RUN APP ------------------