Oroborus: init at 2.0.20

Oroborus (named after the self-eating snake) is a minimalistic window manager.
This commit is contained in:
AndersonTorres
2015-07-23 13:50:26 -03:00
parent dc50222a0c
commit d004ac6857
3 changed files with 56 additions and 0 deletions
@@ -0,0 +1,25 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.xserver.windowManager.oroborus;
in
{
###### interface
options = {
services.xserver.windowManager.oroborus.enable = mkEnableOption "oroborus";
};
###### implementation
config = mkIf cfg.enable {
services.xserver.windowManager.session = singleton {
name = "oroborus";
start = ''
${pkgs.oroborus}/bin/oroborus &
waitPID=$!
'';
};
environment.systemPackages = [ pkgs.oroborus ];
};
}