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