forked from colonelpanic/dotfiles
[XMonad] Prepare for switching to nix build for recompilation of xmonad
This commit is contained in:
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
|
Submodule dotfiles/config/xmonad/xmonad-contrib updated: 9c0eb36a4a...f103990967
@@ -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
|
||||
|
Reference in New Issue
Block a user