xmonad-custom/src/XMonad/Custom/Modifiers.hs

18 lines
512 B
Haskell

module XMonad.Custom.Modifiers where
import Graphics.X11.Types
-- | Used when giving KeyMasks directly
myMainModMask, mySecondaryModMask, myTertiaryModMask:: KeyMask
myMainModMask = mod4Mask -- Super_L
mySecondaryModMask = mod1Mask -- Alt_L
myTertiaryModMask = controlMask -- control
-- | For XMonad.Util.EZConfig, these can be used
myMainModifier, mySecondaryModifier, myTertiaryModifier :: String
myMainModifier = "M4"
mySecondaryModifier = "M1"
myTertiaryModifier = "C"