Created
April 29, 2012 17:05
-
-
Save photex/2551959 to your computer and use it in GitHub Desktop.
Xmonad Ubuntu 12.04 Config
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/sh | |
exec gnome-session --session xmonad "$@" |
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
import XMonad | |
import XMonad.Util.Run | |
import XMonad.Util.EZConfig (additionalKeys) | |
import XMonad.Hooks.ManageDocks | |
import XMonad.Hooks.ICCCMFocus | |
import XMonad.Config.Gnome | |
myManageHook = composeAll ( | |
[ className =? "Unity-2d-panel" --> doIgnore | |
, className =? "Unity-2d-launcher" --> doFloat | |
]) | |
main = | |
xmonad $ gnomeConfig { modMask = mod4Mask | |
, manageHook = manageDocks <+> myManageHook <+> manageHook gnomeConfig | |
, layoutHook = avoidStruts $ layoutHook defaultConfig | |
, logHook = takeTopFocus | |
} `additionalKeys` [ ((mod4Mask, xK_d), spawn "dmenu_run -b") | |
, ((mod4Mask, xK_Return), spawn "xfce4-terminal") | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For those who just want to blindly paste a few lines into their console, check out my gist too, which is strongly inspired by this gist. (Hope it's ok @photex)