diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-06-13 22:31:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 22:31:45 +0100 |
commit | a89586a885389c32e8e8909ae0223ea191f63760 (patch) | |
tree | b67e5bbccf95773e6bc0886b2429cb52618f89ed /nixos | |
parent | bce38f4887bcea5a6aa4e9a97e9e733d3c73c7dd (diff) | |
parent | 903292a2d845a3d7eececfec364fb871f9ff2317 (diff) |
Merge pull request #41938 from tilpner/awesome-no-argb
nixos/awesome: Add noArgb option
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/x11/window-managers/awesome.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/window-managers/awesome.nix b/nixos/modules/services/x11/window-managers/awesome.nix index 71eb02ec59549..089e9f769f0a5 100644 --- a/nixos/modules/services/x11/window-managers/awesome.nix +++ b/nixos/modules/services/x11/window-managers/awesome.nix @@ -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=$! ''; }; |