summaryrefslogtreecommitdiffstats
path: root/Examples
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-04-05 12:55:00 +0200
committerDave Davenport <qball@gmpclient.org>2020-04-05 12:56:33 +0200
commitbacecf3044be0dea3f8c5e06a2354443f09152eb (patch)
treebb452b22afaaef18d4c4c95a45cd2108798feac7 /Examples
parent5879fd60996b376edfb16f424fc1ffd0e3f49cd3 (diff)
[Script] Add environment variable to indicate state.
* ROFI_RETV shows the state rofi was in before calling rofi.
Diffstat (limited to 'Examples')
-rwxr-xr-xExamples/test_script_env.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Examples/test_script_env.sh b/Examples/test_script_env.sh
new file mode 100755
index 00000000..d9beff87
--- /dev/null
+++ b/Examples/test_script_env.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+
+echo "${ROFI_RETV}"