feat: another xmonad layout and stuf
This commit is contained in:
parent
34930f1628
commit
f1a54018e3
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
with nodePackages;
|
||||||
|
with fromNpm; [
|
||||||
nodejs
|
nodejs
|
||||||
nodePackages.node2nix
|
node2nix
|
||||||
fromNpm.pnpm
|
|
||||||
|
pnpm
|
||||||
|
yarn
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue