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;
|
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";
|
{ name = "awesome";
|
||||||
start =
|
start =
|
||||||
''
|
''
|
||||||
${awesome}/bin/awesome ${makeSearchPath cfg.luaModules} &
|
${awesome}/bin/awesome ${lib.optionalString cfg.noArgb "--no-argb"} ${makeSearchPath cfg.luaModules} &
|
||||||
waitPID=$!
|
waitPID=$!
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user