summaryrefslogtreecommitdiffstats
path: root/Examples/test_script_env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test_script_env.sh')
-rwxr-xr-xExamples/test_script_env.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/Examples/test_script_env.sh b/Examples/test_script_env.sh
index 7753a845..9a8f52dd 100755
--- a/Examples/test_script_env.sh
+++ b/Examples/test_script_env.sh
@@ -5,5 +5,11 @@ then
echo "run this script in rofi".
exit
fi
+
echo -en "\x00no-custom\x1ftrue\n"
-echo "${ROFI_RETV}"
+echo -en "${ROFI_RETV}\x00icon\x1ffirefox\x1finfo\x1ftest\n"
+
+if [ -n "${ROFI_INFO}" ]
+then
+ echo "my info: ${ROFI_INFO} "
+fi