mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
nixos/awesome: Add noArgb option
Add option to disable client transparency support in awesome, which greatly improves performance in my setup (and presumably will in some others).
This commit is contained in:
parent
27e7143cf7
commit
903292a2d8
|
@ -37,6 +37,11 @@ in
|
|||
apply = pkg: if pkg == null then pkgs.awesome else pkg;
|
||||
};
|
||||
|
||||
noArgb = mkOption {
|
||||
default = false;
|
||||
type = types.bool;
|
||||
description = "Disable client transparency support, which can be greatly detrimental to performance in some setups";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
@ -50,7 +55,7 @@ in
|
|||
{ name = "awesome";
|
||||
start =
|
||||
''
|
||||
${awesome}/bin/awesome ${makeSearchPath cfg.luaModules} &
|
||||
${awesome}/bin/awesome ${lib.optionalString cfg.noArgb "--no-argb"} ${makeSearchPath cfg.luaModules} &
|
||||
waitPID=$!
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue