mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -07:00
Remove unnecessary imports of X.L.LayoutCombinators
This commit is contained in:
@@ -24,7 +24,6 @@ module XMonad.Actions.BluetileCommands (
|
||||
|
||||
import XMonad
|
||||
import qualified XMonad.StackSet as W
|
||||
import XMonad.Layout.LayoutCombinators
|
||||
import System.Exit
|
||||
|
||||
-- $usage
|
||||
|
@@ -19,20 +19,15 @@ module XMonad.Actions.CycleSelectedLayouts (
|
||||
|
||||
import XMonad
|
||||
import XMonad.Prelude (findIndex, fromMaybe)
|
||||
import XMonad.Layout.LayoutCombinators (JumpToLayout(..))
|
||||
import qualified XMonad.StackSet as S
|
||||
|
||||
-- $usage
|
||||
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad hiding ((|||))
|
||||
-- > import XMonad.Layout.LayoutCombinators ((|||))
|
||||
-- > import XMonad
|
||||
-- > import XMonad.Actions.CycleSelectedLayouts
|
||||
--
|
||||
-- > , ((modm, xK_t ), cycleThroughLayouts ["Tall", "Mirror Tall"])
|
||||
--
|
||||
-- Make sure you are using NewSelect from XMonad.Layout.LayoutCombinators,
|
||||
-- rather than the Select defined in xmonad core.
|
||||
|
||||
cycleToNext :: (Eq a) => [a] -> a -> Maybe a
|
||||
cycleToNext lst a = do
|
||||
|
Reference in New Issue
Block a user