diff options
author | makefu <github@syntax-fehler.de> | 2018-01-04 00:21:13 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-01-04 00:21:13 +0100 |
commit | 8c6bd7431c8620fa65466e880fbd38e2c555367d (patch) | |
tree | 9d73f67cf751a6f3f99b6a5a0c3dd0ddaee16382 /lass/5pkgs/xmonad-lass.nix | |
parent | 6ad170e7621668fdcf03aab37d1f9843e446d2da (diff) | |
parent | a9f803207243425d5c06ce82820c27a4de8af5ad (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/5pkgs/xmonad-lass.nix')
-rw-r--r-- | lass/5pkgs/xmonad-lass.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lass/5pkgs/xmonad-lass.nix b/lass/5pkgs/xmonad-lass.nix index d3f76903d..2dd352bd4 100644 --- a/lass/5pkgs/xmonad-lass.nix +++ b/lass/5pkgs/xmonad-lass.nix @@ -66,7 +66,7 @@ main' = do { terminal = myTerm , modMask = mod4Mask , layoutHook = smartBorders $ myLayoutHook - , manageHook = placeHook (smart (1,0)) <+> floatNextHook + , manageHook = placeHook (smart (1,0)) <+> floatNextHook <+> floatHooks , startupHook = whenJustM (liftIO (lookupEnv "XMONAD_STARTUP_HOOK")) (\path -> forkFile path [] Nothing) @@ -80,6 +80,14 @@ myLayoutHook = defLayout where defLayout = minimize $ ((avoidStruts $ Tall 1 (3/100) (1/2) ||| Full ||| Mirror (Tall 1 (3/100) (1/2))) ||| FixedColumn 2 80 80 1 ||| simplestFloat) +floatHooks = composeAll . concat $ + [ [ title =? t --> doFloat | t <- myTitleFloats] + , [ className =? c --> doFloat | c <- myClassFloats ] ] + where + myTitleFloats = [] -- for the KDE "open link" popup from konsole + myClassFloats = ["Pinentry"] -- for gpg passphrase entry + + myKeyMap :: [([Char], X ())] myKeyMap = [ ("M4-<F11>", spawn "${config.lass.screenlock.command}") |