diff options
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 |