diff options
Diffstat (limited to '.xmonad')
-rw-r--r-- | .xmonad/xmonad.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index e6a581d..c0f1049 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs | |||
@@ -64,6 +64,7 @@ defaultHost = Host { hName = "unkown" | |||
64 | , hWsp = show | 64 | , hWsp = show |
65 | , hCoWsp = const Nothing | 65 | , hCoWsp = const Nothing |
66 | , hKeysMod = const id | 66 | , hKeysMod = const id |
67 | , hWspList = [1..] | ||
67 | } | 68 | } |
68 | 69 | ||
69 | --hostFromName :: (LayoutClass l1 a, LayoutClass l2 a) => HostName -> Host (l1 a) (l2 a) | 70 | --hostFromName :: (LayoutClass l1 a, LayoutClass l2 a) => HostName -> Host (l1 a) (l2 a) |
@@ -76,9 +77,10 @@ hostFromName h@("vali") = defaultHost { hName = h | |||
76 | , hCoWsp = hCoWsp | 77 | , hCoWsp = hCoWsp |
77 | , hKeysMod = \conf -> Map.union $ Map.fromList $ join $ map (spawnBindings conf) [ (xK_d, ["dwb", "dwb $(xclip -o)"]) | 78 | , hKeysMod = \conf -> Map.union $ Map.fromList $ join $ map (spawnBindings conf) [ (xK_d, ["dwb", "dwb $(xclip -o)"]) |
78 | ] | 79 | ] |
80 | , hWspList = [2..] | ||
79 | } | 81 | } |
80 | where | 82 | where |
81 | workspaceNames = Map.fromList [ (1, "web") | 83 | workspaceNames = Map.fromList [ (2, "web") |
82 | ] | 84 | ] |
83 | hWsp = wspFromMap workspaceNames | 85 | hWsp = wspFromMap workspaceNames |
84 | hCoWsp = coWspFromMap workspaceNames | 86 | hCoWsp = coWspFromMap workspaceNames |
@@ -123,7 +125,7 @@ main = do | |||
123 | , logHook = dynamicLogWithPP xmobarPP' | 125 | , logHook = dynamicLogWithPP xmobarPP' |
124 | , modMask = mod4Mask | 126 | , modMask = mod4Mask |
125 | , keys = \conf -> hKeysMod host conf $ myKeys' conf | 127 | , keys = \conf -> hKeysMod host conf $ myKeys' conf |
126 | , workspaces = take (length numKeys) $ map wsp [1..] | 128 | , workspaces = take (length numKeys) $ map wsp (hWspList host) |
127 | , startupHook = assimilateKeychain >> (sequence autostart) >> (setDefaultCursor xC_left_ptr) >> banishScreen LowerRight >> return () | 129 | , startupHook = assimilateKeychain >> (sequence autostart) >> (setDefaultCursor xC_left_ptr) >> banishScreen LowerRight >> return () |
128 | , normalBorderColor = "#202020" | 130 | , normalBorderColor = "#202020" |
129 | , focusedBorderColor = "white" | 131 | , focusedBorderColor = "white" |