1
Fork 0

feat: another xmonad layout and stuf

This commit is contained in:
Matei Adriel 2020-04-21 16:46:43 +03:00
parent 34930f1628
commit f1a54018e3
2 changed files with 16 additions and 7 deletions

View file

@ -3,11 +3,13 @@ import Control.Monad ( join )
import XMonad import XMonad
import XMonad.Config.Kde import XMonad.Config.Kde
import XMonad.Layout.Spacing
import XMonad.Util.EZConfig import XMonad.Util.EZConfig
import XMonad.Actions.SpawnOn import XMonad.Actions.SpawnOn
import XMonad.Hooks.ManageDocks import XMonad.Hooks.ManageDocks
import XMonad.Layout.Spacing
import XMonad.Layout.ThreeColumns
main = main =
xmonad xmonad
$ docks $ docks
@ -44,7 +46,10 @@ main =
border = uniformBorder 4 border = uniformBorder 4
spacingHook = spacingRaw True border True border True 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 myLayoutHook = desktopLayoutModifiers $ spacingHook layouts

View file

@ -1,9 +1,13 @@
{ pkgs, ... }: { pkgs, ... }:
let fromNpm = import ./npm { inherit pkgs; }; let fromNpm = import ./npm { inherit pkgs; };
in { in {
home-manager.users.adrielus.home.packages = with pkgs; [ home-manager.users.adrielus.home.packages = with pkgs;
nodejs with nodePackages;
nodePackages.node2nix with fromNpm; [
fromNpm.pnpm nodejs
]; node2nix
pnpm
yarn
];
} }