diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 00:00:34 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 00:00:34 -0200 |
commit | 25235935e6c90557a4d6791c8d8f3a5cdf89681a (patch) | |
tree | cf1bbce8d1d76be07b4b93aca4e6e71bccd3d80b /modules/profile | |
parent | 4453f319458f6f7efa709b1c253032e56ebced67 (diff) | |
download | dotfiles-25235935e6c90557a4d6791c8d8f3a5cdf89681a.tar.gz dotfiles-25235935e6c90557a4d6791c8d8f3a5cdf89681a.tar.bz2 |
Starting window manager depending on OS version
Diffstat (limited to 'modules/profile')
-rwxr-xr-x | modules/profile/xprofile | 5 |
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 |