forked from colonelpanic/dotfiles
[XMonad] Use nix-flake recompilation support
This commit is contained in:
parent
3d894ba205
commit
b0b03881e9
@ -1 +1 @@
|
||||
Subproject commit aa18707c3ef96db88208509c2a18c6670e831661
|
||||
Subproject commit 485a0ad506b8fb4a93a01a7cdd437121ecf5e40c
|
@ -110,7 +110,7 @@ myConfig = def
|
||||
, handleEventHook
|
||||
= followIfNoMagicFocus
|
||||
<> minimizeEventHook
|
||||
<> restartEventHook
|
||||
-- <> restartEventHook
|
||||
<> myScratchPadEventHook
|
||||
, startupHook = myStartup
|
||||
, keys = customKeys (const []) addKeys
|
||||
@ -137,14 +137,13 @@ restartEventHook _ = return $ All True
|
||||
|
||||
myNavigation2DConfig = def { defaultTiledNavigation = centerNavigation }
|
||||
|
||||
main = do
|
||||
dirs <- getDirectories
|
||||
(`launch` dirs)
|
||||
. docks
|
||||
. pagerHints
|
||||
. ewmh
|
||||
. ewmhFullscreen
|
||||
. withNavigation2DConfig myNavigation2DConfig $ myConfig
|
||||
main =
|
||||
xmonad
|
||||
. docks
|
||||
. pagerHints
|
||||
. ewmh
|
||||
. ewmhFullscreen
|
||||
. withNavigation2DConfig myNavigation2DConfig $ myConfig
|
||||
|
||||
-- Utility functions
|
||||
|
||||
@ -316,7 +315,7 @@ instance Transformer MyToggles Window where
|
||||
transform AVOIDSTRUTS x k = k (avoidStruts x) unmodifyLayout
|
||||
|
||||
myToggles = [LIMIT, GAPS, MAGICFOCUS, MAGNIFY, AVOIDSTRUTS]
|
||||
otherToggles = [NBFULL, MIRROR, NOBORDERS, SMARTBORDERS]
|
||||
otherToggles = [NBFULL, NOBORDERS, MIRROR, SMARTBORDERS]
|
||||
toggleHandlers =
|
||||
[ (Toggle GAPS, toggleAll)
|
||||
, (Toggle MAGNIFY, toggleAll)
|
||||
|
Loading…
Reference in New Issue
Block a user