Skip to content

Commit

Permalink
feat: a wee bit of ricing
Browse files Browse the repository at this point in the history
  • Loading branch information
workflow committed Nov 25, 2023
1 parent 812e881 commit b4ff417
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions home/picom.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@
{ isNvidia, lib, pkgs, ... }:
{
services.picom = {
activeOpacity = 0.99;
activeOpacity = 0.90;

enable = true;

# For NVIDIA, we can run with the simpler xrender backend,
# which does not do vsync
# Note: This may also need ForceFullCompositionPipeline in xorg.conf
# See: https://github.com/chjj/compton/issues/227
backend = if isNvidia then "xrender" else "glx";
# backend = if isNvidia then "xrender" else "glx";
backend = "glx";

settings = {
blur =
{
method = "dual_kawase";
strength = 2;
};
no-fading-openclose = true;
invert-color-include = [ "TAG_INVERT@:8c = 1" ];
};
Expand All @@ -21,7 +27,7 @@
fadeDelta = 12;
fadeSteps = [ 0.15 0.15 ];

inactiveOpacity = 0.90;
inactiveOpacity = 0.99;

menuOpacity = 0.98;

Expand Down

0 comments on commit b4ff417

Please sign in to comment.