aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/afm-util
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/afm-util')
-rwxr-xr-xscripts/afm-util7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/afm-util b/scripts/afm-util
index 243b43c..eb800d9 100755
--- a/scripts/afm-util
+++ b/scripts/afm-util
@@ -52,6 +52,11 @@ case "$1" in
send start "\"$i\""
;;
+ once)
+ i=$2
+ send once "\"$i\""
+ ;;
+
terminate|kill)
i=$2
send terminate "$i"
@@ -96,6 +101,8 @@ The commands are:
run id
start id start an instance of the widget of id
+ once id run once an instance of the widget of id
+
kill rid
terminate rid terminate the running instance rid