mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 01:31:52 -07:00
remove redundant fromIntegral from Commands.
This commit is contained in:
@@ -58,7 +58,7 @@ commandMap :: [(String, X ())] -> M.Map String (X ())
|
||||
commandMap c = M.fromList c
|
||||
|
||||
workspaceCommands :: [(String, X ())]
|
||||
workspaceCommands = [((m ++ show i), f (fromIntegral i))
|
||||
workspaceCommands = [((m ++ show i), f i)
|
||||
| i <- workspaces
|
||||
, (f, m) <- [(view, "view"), (shift, "shift")]
|
||||
]
|
||||
|
Reference in New Issue
Block a user