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.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

View file

@ -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
];
}