aboutsummaryrefslogtreecommitdiffstats
path: root/data/tools
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2010-03-12 21:34:30 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2010-03-12 21:34:30 +0000
commitddc7ec3bfeebfa1e85dd6920766874b102b97302 (patch)
tree976ad6946b2d4d5a35fff1913b512e5dcd656c9b /data/tools
parent02dfcdd2645eadda69751838ceebce68b1235345 (diff)
downloadenlightenment-ddc7ec3bfeebfa1e85dd6920766874b102b97302.tar.gz
enlightenment-ddc7ec3bfeebfa1e85dd6920766874b102b97302.tar.xz
enlightenment-ddc7ec3bfeebfa1e85dd6920766874b102b97302.zip
Show and ShowByName dbus calls for org.enlightenment.wm.Desktop
SVN revision: 47168
Diffstat (limited to 'data/tools')
-rw-r--r--data/tools/enlightenment_remote39
1 files changed, 34 insertions, 5 deletions
diff --git a/data/tools/enlightenment_remote b/data/tools/enlightenment_remote
index c7227d12e..daf504a3f 100644
--- a/data/tools/enlightenment_remote
+++ b/data/tools/enlightenment_remote
@@ -30,7 +30,9 @@ OPTIONS:
-default-profile-get Get the default configuration profile
-default-profile-set OPT1 Set the default configuration profile to OPT1
- -desks-get Get the number of virtual desktops
+ -desktops-get Get the number of virtual desktops
+ -desktop-show OPT1 OPT2 Show the desk at position OPT1 (x) and OPT2 (y), see -desktops-get for current count.
+ -desktop-show-by-name OPT1 Show the desk named OPT1
-desktop-bg-add OPT1 OPT2 OPT3 OPT4 OPT5 Add a desktop bg definition. OPT1 = container no. OPT2 = zone no. OPT3 = desk_x. OPT4 = desk_y. OPT5 = bg file path
-desktop-bg-del OPT1 OPT2 OPT3 OPT4 Delete a desktop bg definition. OPT1 = container no. OPT2 = zone no. OPT3 = desk_x. OPT4 = desk_y.
-desktop-bg-list List all current desktop bg definitions
@@ -168,7 +170,7 @@ ERCIIIIS(){
}
#=== FUNCTION ================================================================
-# NAME: ERCIIIIS
+# NAME: ERCIIII
# DESCRIPTION: eremote call with int, int, int, int parameter
# PARAMETERS: interface/method call, int, int, int, int
# RETURNS:
@@ -177,6 +179,16 @@ ERCIIII(){
dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3" int32:"$4" int32:"$5"
}
+#=== FUNCTION ================================================================
+# NAME: ERCII
+# DESCRIPTION: eremote call with int, int parameter
+# PARAMETERS: interface/method call, int, int
+# RETURNS:
+#===============================================================================
+ERCII(){
+ dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3"
+}
+
#-------------------------------------------------------------------------------
@@ -266,6 +278,19 @@ er_desktop_get(){
ERGMI org.enlightenment.wm.Desktop.GetVirtualCount
}
+#-------------------------------------------------------------------------------
+# E Virtual show
+#-------------------------------------------------------------------------------
+er_desktop_show(){
+ ERCII org.enlightenment.wm.Desktop.Show "$2" "$3"
+}
+
+#-------------------------------------------------------------------------------
+# E Virtual show by name
+#-------------------------------------------------------------------------------
+er_desktop_show_by_name(){
+ ERCS org.enlightenment.wm.Desktop.ShowByName "$2"
+}
#-------------------------------------------------------------------------------
# E Desktop background add
@@ -291,8 +316,6 @@ er_desktop_bg_list(){
-
-
#=== FUNCTION ================================================================
# NAME: Main
# DESCRIPTION: We start there and go to the desired option
@@ -342,9 +365,15 @@ case "$1" in
-default-profile-set)
er_default_profile_set "$@"
;;
- -desks-get)
+ -desks-get|-desktops-get)
er_desktop_get
;;
+ -desktop-show)
+ er_desktop_show "$@"
+ ;;
+ -desktop-show-by-name)
+ er_desktop_show_by_name "$@"
+ ;;
-desktop-bg-add)
er_desktop_bg_add "$@"
;;