Created
May 18, 2012 01:22
-
-
Save kparaju/2722571 to your computer and use it in GitHub Desktop.
Desktop Environment Switcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Gives the user the ability to switch desktop enviroments on the fly | |
# Copyright Kshitij Parajuli (kshitijparajuli@gmail.com). | |
# Licensed under a Creative Commons Attribution 3.0 Unported License. | |
if [ $1 = "gnome" ] | |
then | |
gnome-shell --replace & | |
disown | |
elif [ $1 = "unity" ] | |
then | |
unity & | |
disown | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment