diff --git a/modules/applications/xmonad/xmonad.hs b/modules/applications/xmonad/xmonad.hs index 529a259..d57cc99 100644 --- a/modules/applications/xmonad/xmonad.hs +++ b/modules/applications/xmonad/xmonad.hs @@ -3,11 +3,13 @@ import Control.Monad ( join ) import XMonad import XMonad.Config.Kde -import XMonad.Layout.Spacing import XMonad.Util.EZConfig import XMonad.Actions.SpawnOn import XMonad.Hooks.ManageDocks +import XMonad.Layout.Spacing +import XMonad.Layout.ThreeColumns + main = xmonad $ docks @@ -44,7 +46,10 @@ main = border = uniformBorder 4 spacingHook = spacingRaw True border True border True - layouts = Tall 1 (3 / 100) (1 / 2) ||| Full + tall = Tall 1 (3 / 100) (1 / 2) + threeCols = ThreeCol 1 (3 / 100) (1 / 2) + + layouts = tall ||| threeCols ||| Full myLayoutHook = desktopLayoutModifiers $ spacingHook layouts diff --git a/modules/dev/javascript.nix b/modules/dev/javascript.nix index e9b4347..a61245a 100644 --- a/modules/dev/javascript.nix +++ b/modules/dev/javascript.nix @@ -1,9 +1,13 @@ { pkgs, ... }: let fromNpm = import ./npm { inherit pkgs; }; in { - home-manager.users.adrielus.home.packages = with pkgs; [ - nodejs - nodePackages.node2nix - fromNpm.pnpm - ]; + home-manager.users.adrielus.home.packages = with pkgs; + with nodePackages; + with fromNpm; [ + nodejs + node2nix + + pnpm + yarn + ]; }