Created
September 13, 2013 02:49
-
-
Save aleandros/6546317 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| -- Configuration file used in xmonad for ubuntu 13.04 | |
| -- Changes monMask tu super (windows) key. | |
| -- Better support for fullscreen apps (falsh videos, totem, chrome, etc.) | |
| -- And some other small changes. Enjoy. | |
| import XMonad | |
| import XMonad.Config.Gnome | |
| import XMonad.Hooks.ManageHelpers | |
| import XMonad.Layout.Fullscreen | |
| import XMonad.Layout.NoBorders | |
| import XMonad.Hooks.ICCCMFocus | |
| import XMonad.Hooks.SetWMName | |
| isSplash = isInProperty "_NET_WM_WINDOW_TYPE" "_NET_WM_WINDOW_TYPE_SPLASH" | |
| myManageHook = composeAll | |
| [isSplash --> doIgnore | |
| , resource =? "desktop_window" --> doIgnore | |
| ] | |
| <+> | |
| composeOne [ isFullscreen -?> doFullFloat ] | |
| main = xmonad $ gnomeConfig | |
| { | |
| modMask = mod4Mask | |
| , startupHook = setWMName "LG3D" | |
| , logHook = takeTopFocus | |
| , layoutHook = (fullscreenFloat . fullscreenFull) $ smartBorders $ layoutHook gnomeConfig | |
| , handleEventHook = handleEventHook gnomeConfig <+> fullscreenEventHook | |
| , manageHook = myManageHook <+> fullscreenManageHook <+> manageHook gnomeConfig | |
| , focusedBorderColor = "#00FFD9" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment