mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/xmonad: run hlint
This commit is contained in:
parent
1409a5e064
commit
06c9fe9f1e
1 changed files with 3 additions and 6 deletions
|
|
@ -1,4 +1,3 @@
|
|||
{-# LANGUAGE NamedFieldPuns #-}
|
||||
{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-}
|
||||
|
||||
module XMonad.Layout.ResizableTile.FixDescription
|
||||
|
|
@ -15,12 +14,10 @@ newtype RTFixDescription a = RTFixDescription { unwrapRT :: ResizableTall a }
|
|||
instance LayoutClass RTFixDescription a where
|
||||
runLayout (W.Workspace t l s) =
|
||||
let ws' = W.Workspace t (unwrapRT l) s
|
||||
in fmap (fmap (fmap RTFixDescription))
|
||||
. runLayout ws'
|
||||
in (fmap . fmap . fmap) RTFixDescription . runLayout ws'
|
||||
|
||||
handleMessage (RTFixDescription l) m =
|
||||
fmap (fmap RTFixDescription)
|
||||
$ handleMessage l m
|
||||
handleMessage (RTFixDescription l) =
|
||||
(fmap . fmap) RTFixDescription . handleMessage l
|
||||
|
||||
description (RTFixDescription l) =
|
||||
description l <> " " <> show (_nmaster l)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue