aboutsummaryrefslogtreecommitdiffstats
path: root/data/tools
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-12-04 21:52:44 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-12-04 21:52:44 +0000
commit6791ce58050c2d978b2b5ccf905786367eff322f (patch)
treee28cdffcc93ab776394abeb96be2b626f5adaf60 /data/tools
parent9f70d6d9da1f2329dfb910a695202d3f1a18f9d8 (diff)
downloadenlightenment-6791ce58050c2d978b2b5ccf905786367eff322f.tar.gz
enlightenment-6791ce58050c2d978b2b5ccf905786367eff322f.tar.xz
enlightenment-6791ce58050c2d978b2b5ccf905786367eff322f.zip
ticket #920: [Patch] Add -module-list to enlightenment_remote
SVN revision: 65871
Diffstat (limited to 'data/tools')
-rw-r--r--data/tools/enlightenment_remote14
1 files changed, 13 insertions, 1 deletions
diff --git a/data/tools/enlightenment_remote b/data/tools/enlightenment_remote
index 7ca60db5a..a8c96a314 100644
--- a/data/tools/enlightenment_remote
+++ b/data/tools/enlightenment_remote
@@ -19,6 +19,7 @@ OPTIONS:
-restart Restart Enlightenment
-exit Exit Enlightenment
+ -module-list List all loaded modules
-module-enable OPT1 Enable the module named 'OPT1'
-module-disable OPT1 Disable the module named 'OPT1'
-module-load OPT1 Loads the module named 'OPT1' into memory
@@ -229,6 +230,14 @@ er_module_enable(){
}
#-------------------------------------------------------------------------------
+# E Module List
+#-------------------------------------------------------------------------------
+er_module_list(){
+ echo 'Module -- Status'
+ ERGMST org.enlightenment.wm.Module.List | \
+ sed -e 's/ 1/ -- Enabled/' -e 's/ 0/ -- Disabled/'
+}
+#-------------------------------------------------------------------------------
# E Module Load
#-------------------------------------------------------------------------------
er_module_load(){
@@ -359,6 +368,9 @@ case "$1" in
-exit)
er_exit
;;
+ -module-list)
+ er_module_list
+ ;;
-module-enable)
er_module_enable "$@"
;;
@@ -423,7 +435,7 @@ esac
################################################################################
ignore_this(){
# IGNORE THIS SECTION
-# think at it just like as a TODO list or a list where are listed all the old options of enlightenmen_remote
+# think at it just like as a TODO list or a list where are listed all the old options of enlightenment_remote
# Remember that the elements of this next list are removed every time they are implemented on this tool
echo "