l xmonad: use upstream writers
This commit is contained in:
parent
018efa847f
commit
eb15765624
@ -1,16 +1,10 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
pkgs.writeHaskellPackage "xmonad-lass" {
|
pkgs.writers.writeHaskellBin "xmonad" {
|
||||||
executables.xmonad = {
|
libraries = with pkgs.haskellPackages; [
|
||||||
extra-depends = [
|
extra
|
||||||
"containers"
|
xmonad-stockholm
|
||||||
"extra"
|
];
|
||||||
"unix"
|
} /* haskell */ ''
|
||||||
"X11"
|
|
||||||
"xmonad"
|
|
||||||
"xmonad-contrib"
|
|
||||||
"xmonad-stockholm"
|
|
||||||
];
|
|
||||||
text = /* haskell */ ''
|
|
||||||
{-# LANGUAGE LambdaCase #-}
|
{-# LANGUAGE LambdaCase #-}
|
||||||
|
|
||||||
|
|
||||||
@ -220,6 +214,4 @@ gridConfig = def
|
|||||||
allWorkspaceNames :: W.StackSet i l a sid sd -> X [i]
|
allWorkspaceNames :: W.StackSet i l a sid sd -> X [i]
|
||||||
allWorkspaceNames ws =
|
allWorkspaceNames ws =
|
||||||
return $ map W.tag (W.hidden ws ++ (map W.workspace $ W.visible ws)) ++ [W.tag $ W.workspace $ W.current ws]
|
return $ map W.tag (W.hidden ws ++ (map W.workspace $ W.visible ws)) ++ [W.tag $ W.workspace $ W.current ws]
|
||||||
'';
|
''
|
||||||
};
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user