diff options
Diffstat (limited to 'Examples/test_script_env.sh')
-rwxr-xr-x | Examples/test_script_env.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Examples/test_script_env.sh b/Examples/test_script_env.sh index 64899eb7..7753a845 100755 --- a/Examples/test_script_env.sh +++ b/Examples/test_script_env.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash - +if [ -z "${ROFI_OUTSIDE}" ] +then + echo "run this script in rofi". + exit +fi echo -en "\x00no-custom\x1ftrue\n" echo "${ROFI_RETV}" |