mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-28 02:31:52 -07:00
minor tweaks, ideas from joachim.fasting@
This commit is contained in:
@@ -99,7 +99,7 @@ view = windows . W.view
|
||||
modifyGap :: (Int -> (Int,Int,Int,Int) -> (Int,Int,Int,Int)) -> X ()
|
||||
modifyGap f = do
|
||||
XState { windowset = ws, statusGaps = gaps } <- get
|
||||
let n = fromIntegral $ W.screen (W.current ws)
|
||||
let n = fromIntegral . W.screen $ W.current ws
|
||||
(a,i:b) = splitAt n gaps
|
||||
modify $ \s -> s { statusGaps = a ++ f n i : b }
|
||||
refresh
|
||||
|
Reference in New Issue
Block a user