From 25235935e6c90557a4d6791c8d8f3a5cdf89681a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 1 Feb 2013 00:00:34 -0200 Subject: Starting window manager depending on OS version --- modules/profile/xprofile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/profile/xprofile') 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 -- cgit v1.2.3