mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
remove redundant fromIntegral from Commands.
This commit is contained in:
parent
85b66b5919
commit
c6cfe936b2
@ -58,7 +58,7 @@ commandMap :: [(String, X ())] -> M.Map String (X ())
|
|||||||
commandMap c = M.fromList c
|
commandMap c = M.fromList c
|
||||||
|
|
||||||
workspaceCommands :: [(String, X ())]
|
workspaceCommands :: [(String, X ())]
|
||||||
workspaceCommands = [((m ++ show i), f (fromIntegral i))
|
workspaceCommands = [((m ++ show i), f i)
|
||||||
| i <- workspaces
|
| i <- workspaces
|
||||||
, (f, m) <- [(view, "view"), (shift, "shift")]
|
, (f, m) <- [(view, "view"), (shift, "shift")]
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user