Update picom module
This commit is contained in:
parent
7ce34dca30
commit
6e1ae4eb18
1 changed files with 5 additions and 11 deletions
|
@ -1,13 +1,9 @@
|
|||
{ pkgs
|
||||
, config
|
||||
{ config
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.eboskma.programs.picom;
|
||||
picom = pkgs.writeShellScriptBin "picom" ''
|
||||
${pkgs.nixgl.auto.nixGLDefault}/bin/nixGL ${pkgs.picom}/bin/picom $@
|
||||
'';
|
||||
in
|
||||
{
|
||||
options.eboskma.programs.picom = { enable = mkEnableOption "activate picom"; };
|
||||
|
@ -17,18 +13,16 @@ in
|
|||
|
||||
services.picom = {
|
||||
enable = true;
|
||||
package = picom;
|
||||
|
||||
backend = "glx";
|
||||
vSync = true;
|
||||
experimentalBackends = true;
|
||||
|
||||
fade = true;
|
||||
fade = false;
|
||||
fadeSteps = [ 0.08 0.08 ];
|
||||
|
||||
shadow = true;
|
||||
|
||||
inactiveOpacity = 0.8;
|
||||
inactiveOpacity = 0.9;
|
||||
|
||||
opacityRules = [
|
||||
"0:_NET_WM_STATE@[*]:32a = '_NET_WM_STATE_HIDDEN'"
|
||||
|
@ -53,11 +47,11 @@ in
|
|||
mark-ovredir-focused = true;
|
||||
use-ewmh-active-win = true;
|
||||
blur = {
|
||||
method = "gaussian";
|
||||
method = "dual_kawase";
|
||||
size = 10;
|
||||
deviation = 5.0;
|
||||
};
|
||||
inactive-dim = 0.2;
|
||||
inactive-dim = 0.1;
|
||||
|
||||
wintypes = {
|
||||
dock = { shadow = false; };
|
||||
|
|
Loading…
Reference in a new issue