mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Merge pull request #41938 from tilpner/awesome-no-argb
nixos/awesome: Add noArgb option
This commit is contained in:
commit
a89586a885
@ -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 New Issue
Block a user