Portability | unportable |
---|---|
Stability | unstable |
Maintainer | Martin Perner <martin@perner.cc> |
Safe Haskell | None |
Plugins.Kbd
Description
A keyboard layout indicator for Xmobar
Documentation
data XkbStateRec
Constructors
XkbStateRec | |
Fields
|
Instances
xkbGetState :: Display -> CUInt -> Ptr XkbStateRec -> IO CInt
getKbdLayout :: Display -> IO Int
data XkbNamesRec
Constructors
XkbNamesRec | |
Fields
|
Instances
data XkbDescRec
Constructors
XkbDescRec | |
Fields
|
Instances
xkbAllocKeyboard :: IO (Ptr XkbDescRec)
xkbGetNames :: Display -> CUInt -> Ptr XkbDescRec -> IO Status
xGetAtomName :: Display -> Atom -> IO CString
xkbFreeNames :: Ptr XkbDescRec -> CUInt -> CInt -> IO ()
xkbFreeKeyboard :: Ptr XkbDescRec -> CUInt -> CInt -> IO ()
xkbSelectEventDetails :: Display -> CUInt -> CUInt -> CULong -> CULong -> IO CUInt
xkbSelectEvents :: Display -> CUInt -> CUInt -> CUInt -> IO CUInt
xkbUseCoreKbd :: CUInt
xkbStateNotify :: CUInt
xkbIndicatorStateNotify :: CUInt
xkbMapNotify :: CUInt
xkbMapNotifyMask :: CUInt
xkbNewKeyboardNotifyMask :: CUInt
xkbAllStateComponentsMask :: CULong
xkbGroupStateMask :: CULong
xkbSymbolsNameMask :: CUInt
xkbGroupNamesMask :: CUInt
type KbdOpts = [(String, String)]
getLayoutStr :: Display -> IO String
getLayoutStr' :: Status -> Display -> Ptr XkbDescRec -> IO String
noLaySymbols :: [String]
splitLayout :: String -> [String]
splitLayout' :: [String] -> [String] -> [String]
split :: String -> Char -> [String]
searchReplaceLayout :: KbdOpts -> String -> String