aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-01 00:00:34 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-01 00:00:34 -0200
commit25235935e6c90557a4d6791c8d8f3a5cdf89681a (patch)
treecf1bbce8d1d76be07b4b93aca4e6e71bccd3d80b
parent4453f319458f6f7efa709b1c253032e56ebced67 (diff)
downloadmetadot-25235935e6c90557a4d6791c8d8f3a5cdf89681a.tar.gz
metadot-25235935e6c90557a4d6791c8d8f3a5cdf89681a.tar.bz2
Starting window manager depending on OS version
-rwxr-xr-xmodules/profile/xprofile5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/profile/xprofile b/modules/profile/xprofile
index c4e4eab..ad4b3d7 100755
--- a/modules/profile/xprofile
+++ b/modules/profile/xprofile
@@ -9,6 +9,9 @@ BACKGROUND=""
# Session applications
PROGRAMS=""
+# OS Version
+OSVERSION="`cut -d . -f 1 /etc/debian_version`"
+
# Make sure to load the profile
. $HOME/.profile
@@ -45,6 +48,6 @@ unset GNOME_KEYRING_PID
unset GNOME_KEYRING_CONTROL
# Execute window manager
-if [ "`cut -d . -f 1 /etc/debian_version`" ]; then
+if [ "$OSVERSION" == '7' ]; then
awesome
fi