diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-11 22:43:37 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-11 22:43:37 (GMT) |
commit | e91a04796733c19b1fafab5ec974c4aeb11eca3c (patch) | |
tree | 85cca5d6c0c2b3159995a3f76dd6b549e86cc543 /abs/core/LinHES-system/set_windowmanager.sh | |
parent | 3d0a10290106d0da8902bd4b7b622eb7c66adf2e (diff) | |
download | linhes_pkgbuild-e91a04796733c19b1fafab5ec974c4aeb11eca3c.zip linhes_pkgbuild-e91a04796733c19b1fafab5ec974c4aeb11eca3c.tar.gz linhes_pkgbuild-e91a04796733c19b1fafab5ec974c4aeb11eca3c.tar.bz2 |
LinHES-system: make E and enhanced the default windowmanger. As a side effect supplemental web also becomes the default.
refs #895
Diffstat (limited to 'abs/core/LinHES-system/set_windowmanager.sh')
-rw-r--r-- | abs/core/LinHES-system/set_windowmanager.sh | 51 |
1 files changed, 29 insertions, 22 deletions
diff --git a/abs/core/LinHES-system/set_windowmanager.sh b/abs/core/LinHES-system/set_windowmanager.sh index b159fbf..4cb7a1c 100644 --- a/abs/core/LinHES-system/set_windowmanager.sh +++ b/abs/core/LinHES-system/set_windowmanager.sh @@ -20,13 +20,13 @@ function stylemsg(){ function set_wm(){ case ${windowmanager} in - default) - outmsg "default/fluxbox" - outline="default" - echo "" > /etc/X11/WINDOWMANAGER + fluxbox) + outmsg "fluxbox" + outline="fluxbox" + echo "fluxbox" > /etc/X11/WINDOWMANAGER ;; - enlightenment) + enlightenment|default) outmsg "enlightenment" outline="e16 -P $configdir/e16_config_dir/" ;; @@ -48,24 +48,30 @@ function set_wm(){ case ${style} in - enhanced) + legacy) + STYLE="$style" + stylemsg "Default" + HSTYLE=0 + ;; + + enhanced|*) STYLE="enhanced" HSTYLE="1" stylemsg enhanced myth_settings_wrapper.sh -c load -t custom 1 HOSTSupplemental ;; - *) - if [ x$style != x ] - then - stylemsg "** Unknown style..using default" - STYLE="" - else - STYLE="$style" - stylemsg "Default" - fi - HSTYLE=0 - ;; +# *) +# if [ x$style != x ] +# then +# stylemsg "** Unknown style..using default" +# STYLE="" +# else +# STYLE="$style" +# stylemsg "Default" +# fi +# HSTYLE=0 +# ;; esac @@ -95,10 +101,11 @@ then echo " place_custom_startup_here" echo echo "Valid STARTUP_STYLE options are:" - echo " default" + echo " legacy" echo " enhanced" echo echo "If STARTUP_STYLE is not given, then the default will be used." + echo " default is currently set as enlightenment enhanced" echo echo "Example: " echo " set_windowmanager.sh enlightenment enhanced" @@ -112,10 +119,10 @@ fi set_wm -if [ x$outline = "xdefault" ] -then - exit 0 -fi +# if [ x$outline = "xdefault" ] +# then +# exit 0 +# fi WM_CHECK=`echo $outline|cut -d" " -f1 |tr -dc '[:alnum:]'` which $WM_CHECK 2>/dev/null |