Created
November 1, 2011 01:00
-
-
Save btran/1329559 to your computer and use it in GitHub Desktop.
Set xmonad for multiple desktop environments on the same Ubuntu box
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
main :: IO () | |
main = do | |
myEnvironment <- getEnv "DESKTOP_SESSION" | |
if myEnvironment == "xmonad-gnome" | |
then xmonad $ gnomeConfig | |
else xmonad $ xfceConfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment