xmonad/xmonad.hs
Jens Petersen 58bd103fcc change xmonad-gnome to xmonad-mate
(since gnome-panel is gone in f19)

- subpackage rename and corresponding renamings from gnome to mate
- forward-port xmonad-start arg from f16

needs testing!
2013-02-25 16:11:47 +01:00

21 lines
477 B
Haskell

-- default desktop configuration for Fedora
import System.Posix.Env (getEnv)
import Data.Maybe (maybe)
import XMonad
import XMonad.Config.Desktop
import XMonad.Config.Gnome
import XMonad.Config.Kde
import XMonad.Config.Xfce
main = do
session <- getEnv "DESKTOP_SESSION"
xmonad $ maybe desktopConfig desktop session
desktop "gnome" = gnomeConfig
desktop "kde" = kde4Config
desktop "xfce" = xfceConfig
desktop "xmonad-mate" = gnomeConfig
desktop _ = desktopConfig