summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/LinHES-session
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-12 17:42:31 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-12 17:42:31 (GMT)
commitb634ffbdf44f00c91b8163ee66d8df3dee75ed69 (patch)
treecdd9982a7d5001203b332af5244bf4c4d06ef075 /abs/core/LinHES-system/LinHES-session
parente75d8cc349ec60a4cd6e5aa10c1257157db1868c (diff)
downloadlinhes_pkgbuild-b634ffbdf44f00c91b8163ee66d8df3dee75ed69.zip
linhes_pkgbuild-b634ffbdf44f00c91b8163ee66d8df3dee75ed69.tar.gz
linhes_pkgbuild-b634ffbdf44f00c91b8163ee66d8df3dee75ed69.tar.bz2
LinHES-system: if fluxbox is the Windowmanager, then symlink ~ .fluxbox to /usr/share/fluxbox_settings
Diffstat (limited to 'abs/core/LinHES-system/LinHES-session')
-rwxr-xr-xabs/core/LinHES-system/LinHES-session17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session
index 0b35e89..a5632fd 100755
--- a/abs/core/LinHES-system/LinHES-session
+++ b/abs/core/LinHES-system/LinHES-session
@@ -110,6 +110,17 @@ function keylaunch(){
}
+function fluxbox_settings(){
+ if [ ! -e $HOME/.fluxbox ]
+ then
+ echo "setting symlink fluxbox"
+ configdir=/usr/share/fluxbox_settings
+ ln -s $configdir /root/.fluxbox
+ fi
+
+}
+
+
function load_nvidia_settings(){
lsmod |cut -f1 -d" " |grep -q nvidia
@@ -399,6 +410,12 @@ then
WM=fluxbox
fi
+if [ $WM = "fluxbox" ]
+then
+ fluxbox_settings
+fi
+
+
#if using mythvantage style, start the WM right away
# this is done so that starting mythtv can loop.
$WM &