berry: init at 0.1.5

berry is a small window manager for X11
This commit is contained in:
AndersonTorres
2020-05-13 21:32:54 -03:00
parent 6aeaa1019c
commit 43ce2a5219
4 changed files with 75 additions and 0 deletions
@@ -0,0 +1,25 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.xserver.windowManager.berry;
in
{
###### interface
options = {
services.xserver.windowManager.berry.enable = mkEnableOption "berry";
};
###### implementation
config = mkIf cfg.enable {
services.xserver.windowManager.session = singleton {
name = "berry";
start = ''
${pkgs.berry}/bin/berry &
waitPID=$!
'';
};
environment.systemPackages = [ pkgs.berry ];
};
}
@@ -10,6 +10,7 @@ in
imports = [
./2bwm.nix
./afterstep.nix
./berry.nix
./bspwm.nix
./cwm.nix
./dwm.nix