forked from enlightenment/enlightenment
Add option for efm
[19:55] <pespin> Hi, can someone with commit rights apply this diff to enlightenment_remote please? http://pastebin.ca/1965991 [19:56] <pespin> it adds posibility to launch EFM from there SVN revision: 53575
This commit is contained in:
parent
ef69e94919
commit
424ee17dc1
|
@ -37,6 +37,8 @@ OPTIONS:
|
||||||
-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-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
|
-desktop-bg-list List all current desktop bg definitions
|
||||||
|
|
||||||
|
-efm-open-dir OPT1 Open dir in OPT1 in EFileManager. Opens /home/$USER if no path is given or it doesn't exist
|
||||||
|
|
||||||
Note: This is a new implementation of enlightenment_remote,
|
Note: This is a new implementation of enlightenment_remote,
|
||||||
for more information about it see the '--help-new' option.
|
for more information about it see the '--help-new' option.
|
||||||
"
|
"
|
||||||
|
@ -313,6 +315,19 @@ er_desktop_bg_list(){
|
||||||
ERGMST org.enlightenment.wm.Desktop.Background.List
|
ERGMST org.enlightenment.wm.Desktop.Background.List
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# E FileManager open dir
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
er_efm_open_dir(){
|
||||||
|
if [ $# -lt 2 ] || [ ! -e "$2" ]; then
|
||||||
|
EFM_DIR="/home/$USER"
|
||||||
|
else
|
||||||
|
EFM_DIR="$2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
dbus-send --session --type=method_call --print-reply=literal --dest=org.enlightenment.FileManager /org/enlightenment/FileManager org.enlightenment.FileManager.OpenDirectory "string:$EFM_DIR"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -383,9 +398,12 @@ case "$1" in
|
||||||
-desktop-bg-list)
|
-desktop-bg-list)
|
||||||
er_desktop_bg_list
|
er_desktop_bg_list
|
||||||
;;
|
;;
|
||||||
|
-efm-open-dir)
|
||||||
|
er_efm_open_dir "$@"
|
||||||
|
;;
|
||||||
|
|
||||||
|
|
||||||
# This entry needs to be allways the last option of the list (*)
|
# This entry needs to be always the last option of the list (*)
|
||||||
-h|-help|--help|--h|*)
|
-h|-help|--help|--h|*)
|
||||||
show_help
|
show_help
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue