forked from colonelpanic/dotfiles
[XMonad] Prepare for switching to nix build for recompilation of xmonad
This commit is contained in:
parent
6c7b4a80b7
commit
9bc20005cd
6
dotfiles/config/xmonad/default.nix
Normal file
6
dotfiles/config/xmonad/default.nix
Normal 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 { }
|
@ -1 +0,0 @@
|
||||
../taffybar/taffybar
|
@ -1 +1 @@
|
||||
Subproject commit 9c0eb36a4a76963a5579f95566f73475579527dc
|
||||
Subproject commit f10399096794addfd121f014b687a0298354f410
|
@ -341,11 +341,13 @@ myTabConfig =
|
||||
rename newName = RN.renamed [RN.Replace newName]
|
||||
|
||||
layoutsStart layout = (layout, [Layout layout])
|
||||
|
||||
(|||!) (joined, layouts) newLayout =
|
||||
(joined ||| newLayout, layouts ++ [Layout newLayout])
|
||||
|
||||
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 "2 Columns" (Tall 1 (3 / 100) (1 / 2)) |||!
|
||||
Accordion |||! simpleCross |||! myTabbed
|
||||
|
Loading…
Reference in New Issue
Block a user