forked from colonelpanic/dotfiles
[XMonad] Fix space toggling
This commit is contained in:
parent
42b6e4a0af
commit
f44a3e52ef
@ -185,8 +185,8 @@ tvScreenId :: ScreenId
|
|||||||
tvScreenId = 1
|
tvScreenId = 1
|
||||||
|
|
||||||
disableTVFading = setFading (Just tvScreenId) False
|
disableTVFading = setFading (Just tvScreenId) False
|
||||||
enableGaps = sendMessage $ ModifySpacing const spacingSize
|
enableGaps = sendMessage $ ModifySpacing $ const spacingSize
|
||||||
disableGaps = sendMessage $ ModifySpacing const 0
|
disableGaps = sendMessage $ ModifySpacing $ const 0
|
||||||
|
|
||||||
hostNameToAction =
|
hostNameToAction =
|
||||||
M.fromList [ ("imalison-arch", disableTVFading >> enableGaps)
|
M.fromList [ ("imalison-arch", disableTVFading >> enableGaps)
|
||||||
@ -238,7 +238,7 @@ layoutTogglesMap =
|
|||||||
toggleTuple toggle =
|
toggleTuple toggle =
|
||||||
fmap (\str -> (str, Toggle toggle)) (toggleToStringWithState toggle)
|
fmap (\str -> (str, Toggle toggle)) (toggleToStringWithState toggle)
|
||||||
|
|
||||||
spacingSize = 10
|
spacingSize = 20
|
||||||
|
|
||||||
togglesXActionsMap =
|
togglesXActionsMap =
|
||||||
M.fromList [ ("GAPS", sendMessage $ ModifySpacing toggleSpacing ) ]
|
M.fromList [ ("GAPS", sendMessage $ ModifySpacing toggleSpacing ) ]
|
||||||
@ -325,7 +325,7 @@ myLayoutHook =
|
|||||||
mkToggle1 LIMIT .
|
mkToggle1 LIMIT .
|
||||||
mkToggle1 MAGICFOCUS .
|
mkToggle1 MAGICFOCUS .
|
||||||
mkToggle1 NBFULL .
|
mkToggle1 NBFULL .
|
||||||
smartSpacing 10 .
|
smartSpacing spacingSize .
|
||||||
workspaceNamesHook .
|
workspaceNamesHook .
|
||||||
lessBorders Screen $ fst layoutInfo
|
lessBorders Screen $ fst layoutInfo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user