[XMonad] Prepare for switching to nix build for recompilation of xmonad

This commit is contained in:
Ivan Malison 2019-06-02 22:48:29 -07:00
parent 6c7b4a80b7
commit 9bc20005cd
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
5 changed files with 10 additions and 3 deletions

View File

@ -0,0 +1,6 @@
let
pkgs = import <nixpkgs> { overlays = [ (import ./overlay.nix) ]; };
source = pkgs.lib.sourceByRegex ./. [
"xmonad.hs" "imalison-xmonad.cabal" "PagerHints.hs" "LICENSE"
];
in pkgs.haskellPackages.callCabal2nix "imalison-xmonad" source { }

View File

@ -1 +0,0 @@
../taffybar/taffybar

@ -1 +1 @@
Subproject commit 9c0eb36a4a76963a5579f95566f73475579527dc Subproject commit f10399096794addfd121f014b687a0298354f410

View File

@ -341,11 +341,13 @@ myTabConfig =
rename newName = RN.renamed [RN.Replace newName] rename newName = RN.renamed [RN.Replace newName]
layoutsStart layout = (layout, [Layout layout]) layoutsStart layout = (layout, [Layout layout])
(|||!) (joined, layouts) newLayout = (|||!) (joined, layouts) newLayout =
(joined ||| newLayout, layouts ++ [Layout newLayout]) (joined ||| newLayout, layouts ++ [Layout newLayout])
layoutInfo = layoutInfo =
layoutsStart (rename "Columns" $ multiCol [1, 1] 2 0.01 (-0.5)) |||! layoutsStart (rename "4 Columns" $ (multiCol [1, 1, 1] 2 0.0 (-0.5))) |||!
rename "3 Columns" (multiCol [1, 1] 2 0.01 (-0.5)) |||!
rename "Large Main" (Tall 1 (3 / 100) (3 / 4)) |||! rename "Large Main" (Tall 1 (3 / 100) (3 / 4)) |||!
rename "2 Columns" (Tall 1 (3 / 100) (1 / 2)) |||! rename "2 Columns" (Tall 1 (3 / 100) (1 / 2)) |||!
Accordion |||! simpleCross |||! myTabbed Accordion |||! simpleCross |||! myTabbed