mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 12:41:53 -07:00
make workspace tag not need to be a Num.
This change also removes the barely used 'size' field, and replaces it with a tagMember predicate. The idea is to move towards the ability to make the workspace tag be a String, which by default might be "1".."9", but could also be customized to be something meaningful to the user.
This commit is contained in:
2
Main.hs
2
Main.hs
@@ -52,7 +52,7 @@ main = do
|
||||
|
||||
let winset | ("--resume" : s : _) <- args
|
||||
, [(x, "")] <- reads s = x
|
||||
| otherwise = new (fromIntegral workspaces) (fromIntegral $ length xinesc)
|
||||
| otherwise = new [0..fromIntegral workspaces-1] (fromIntegral $ length xinesc)
|
||||
|
||||
safeLayouts = case defaultLayouts of [] -> (full, []); (x:xs) -> (x,xs)
|
||||
cf = XConf
|
||||
|
Reference in New Issue
Block a user