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

19 lines
511 B
Haskell
Raw Normal View History

2022-07-17 09:59:10 +02:00
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 = "M"
mySecondaryModifier = "M1"
myTertiaryModifier = "C"