Fix folds
parent
31f45fdff8
commit
14c80c96df
|
@ -70,15 +70,15 @@ pp =
|
||||||
-- Shift to workspace and view workspace
|
-- Shift to workspace and view workspace
|
||||||
shiftAndView id = doF (W.view id) <> doF (W.shift id)
|
shiftAndView id = doF (W.view id) <> doF (W.shift id)
|
||||||
|
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- Hooks {{{
|
||||||
|
|
||||||
-- startupHook
|
-- startupHook
|
||||||
myStartupHook =
|
myStartupHook =
|
||||||
do
|
do
|
||||||
spawn "albert"
|
spawn "albert"
|
||||||
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- Hooks {{{
|
|
||||||
|
|
||||||
-- manageHook
|
-- manageHook
|
||||||
myManageHook :: ManageHook
|
myManageHook :: ManageHook
|
||||||
myManageHook =
|
myManageHook =
|
||||||
|
@ -125,13 +125,15 @@ myLayoutHook =
|
||||||
ratio = 1 / 2
|
ratio = 1 / 2
|
||||||
delta = 4 / 100
|
delta = 4 / 100
|
||||||
|
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- Main config {{{
|
||||||
|
|
||||||
myWorkspaces = [ "sh", "www", "dev", "info", "etc" ]
|
myWorkspaces = [ "sh", "www", "dev", "info", "etc" ]
|
||||||
myWorkspaceKeys = [ "a", "s", "d", "f", "g" ]
|
myWorkspaceKeys = [ "a", "s", "d", "f", "g" ]
|
||||||
mySharedWorkspaces = [ "shared" ]
|
mySharedWorkspaces = [ "shared" ]
|
||||||
mySharedWorkspaceKeys = [ "1" ]
|
mySharedWorkspaceKeys = [ "1" ]
|
||||||
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
myConfig =
|
myConfig =
|
||||||
def
|
def
|
||||||
{ terminal = "alacritty",
|
{ terminal = "alacritty",
|
||||||
|
@ -152,6 +154,10 @@ myConfig =
|
||||||
`removeKeysP` myRemoveKeysP
|
`removeKeysP` myRemoveKeysP
|
||||||
`additionalKeysP` myKeysP
|
`additionalKeysP` myKeysP
|
||||||
|
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- Keybindings {{{
|
||||||
|
|
||||||
-- Keybindings to be added/overridden
|
-- Keybindings to be added/overridden
|
||||||
myKeysP =
|
myKeysP =
|
||||||
[ -- Fit floating windows back to layout
|
[ -- Fit floating windows back to layout
|
||||||
|
@ -205,7 +211,10 @@ zipKeyPrefixes prefixes keys = [prefix ++ key | prefix <- prefixes, key <- keys]
|
||||||
-- Keybindings to be removed
|
-- Keybindings to be removed
|
||||||
myRemoveKeysP = "M-S-q" : zipKeyPrefixes ["M-", "M-S-"] (map show [ 1..5 ])
|
myRemoveKeysP = "M-S-q" : zipKeyPrefixes ["M-", "M-S-"] (map show [ 1..5 ])
|
||||||
|
|
||||||
-- main :: IO ()
|
-- }}}
|
||||||
|
|
||||||
|
-- Main {{{
|
||||||
|
|
||||||
main = do xmonad
|
main = do xmonad
|
||||||
$ ewmh
|
$ ewmh
|
||||||
$ withEasySB
|
$ withEasySB
|
||||||
|
@ -215,3 +224,5 @@ main = do xmonad
|
||||||
where
|
where
|
||||||
sb1 = statusBarProp "xmobar" $ pure (pp' (S 0) pp)
|
sb1 = statusBarProp "xmobar" $ pure (pp' (S 0) pp)
|
||||||
sb2 = statusBarProp "xmobar" $ pure (pp' (S 1) pp)
|
sb2 = statusBarProp "xmobar" $ pure (pp' (S 1) pp)
|
||||||
|
|
||||||
|
-- }}}
|
||||||
|
|
Loading…
Reference in New Issue