Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. module XMonad.Hooks.SetWMName

    Sets the WM name to a given string, so that it could be detected using _NET_SUPPORTING_WM_CHECK protocol. May be useful for making Java GUI programs work, just set WM name to "LG3D" and use Java 1.6u1 (1.6.0_01-ea-b03 works for me) or later. To your xmonad.hs file, add the following line:

    import XMonad.Hooks.SetWMName
    
    Then edit your startupHook:
    startupHook = setWMName "LG3D"
    
    For details on the problems with running Java GUI programs in non-reparenting WMs, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775 and related bugs. Setting WM name to "compiz" does not solve the problem, because of yet another bug in AWT code (related to insets). For LG3D insets are explicitly set to 0, while for other WMs the insets are "guessed" and the algorithm fails miserably by guessing absolutely bogus values. For detailed instructions on editing your hooks, see the tutorial and XMonad.Doc.Extending.

  2. SetTheme :: Theme -> DecorationMsg

    xmonad-contrib XMonad.Layout.Decoration

    No documentation available.

  3. SetGridAspect :: Rational -> ChangeGridGeom

    xmonad-contrib XMonad.Layout.GridVariants

    No documentation available.

  4. SetMasterCols :: Int -> ChangeMasterGridGeom

    xmonad-contrib XMonad.Layout.GridVariants

    Set the number of master columns to absolute value

  5. SetMasterFraction :: Rational -> ChangeMasterGridGeom

    xmonad-contrib XMonad.Layout.GridVariants

    Set the fraction of the screen used by the master grid

  6. SetMasterRows :: Int -> ChangeMasterGridGeom

    xmonad-contrib XMonad.Layout.GridVariants

    Set the number of master rows to absolute value

  7. SetLeftSlaveFraction :: Int -> Rational -> MRTMessage

    xmonad-contrib XMonad.Layout.MouseResizableTile

    No documentation available.

  8. SetMasterFraction :: Rational -> MRTMessage

    xmonad-contrib XMonad.Layout.MouseResizableTile

    No documentation available.

  9. SetRightSlaveFraction :: Int -> Rational -> MRTMessage

    xmonad-contrib XMonad.Layout.MouseResizableTile

    No documentation available.

  10. class SetsAmbiguous p

    xmonad-contrib XMonad.Layout.NoBorders

    SetsAmbiguous allows custom actions to generate lists of windows that should not have borders drawn through ConfigurableBorder To add your own (though perhaps those options would better belong as an additional constructor to Ambiguity), you can add the following function. Note that lr, the parameter representing the Rectangle of the parent layout, was added to hiddens in 0.14. Update your instance accordingly.

    data MyAmbiguity = MyAmbiguity deriving (Read, Show)
    
    instance SetsAmbiguous MyAmbiguity where
    hiddens _ wset lr mst wrs = otherHiddens Screen \\ otherHiddens OnlyScreenFloat
    where otherHiddens p = hiddens p wset lr mst wrs
    
    The above example is redundant, because you can have the same result with:
    layoutHook = lessBorders (Combine Difference Screen OnlyScreenFloat) (Tall 1 0.5 0.03 ||| ... )
    
    To get the same result as smartBorders:
    layoutHook = lessBorders Never (Tall 1 0.5 0.03 ||| ...)
    
    This indirect method is required to keep the Read and Show for ConfigurableBorder so that xmonad can serialize state.

Page 141 of many | Previous | Next