diff options
author | tilpner <till@hoeppner.ws> | 2018-06-13 19:47:26 +0200 |
---|---|---|
committer | tilpner <till@hoeppner.ws> | 2018-06-13 19:47:26 +0200 |
commit | 903292a2d845a3d7eececfec364fb871f9ff2317 (patch) | |
tree | da0b6727eb696313c28ac5bc9266a0fe20942d8c /nixos | |
parent | 27e7143cf70a5586cffb49b9d2c9db304a4b5f4b (diff) |
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).
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=$! ''; }; |