mirror of
https://github.com/tuxdotrs/tnvim.git
synced 2025-07-06 21:36:34 +05:30
replace picom-pijulius with picom-next
This commit is contained in:
@ -1,23 +1,42 @@
|
||||
{ config, pkgs, ... }: {
|
||||
services.picom = {
|
||||
enable = true;
|
||||
package = pkgs.picom-next;
|
||||
|
||||
backend = "glx";
|
||||
vSync = true;
|
||||
|
||||
fade = true;
|
||||
fadeDelta = 5;
|
||||
fadeDelta = 10;
|
||||
fadeSteps = [ 0.05 0.05 ];
|
||||
fadeExclude = [
|
||||
"window_type *= 'menu'"
|
||||
];
|
||||
|
||||
activeOpacity = 1;
|
||||
inactiveOpacity = 1;
|
||||
opacityRules = [
|
||||
"90:class_g = 'rofi'"
|
||||
"90:class_g = 'thunar'"
|
||||
"90:class_g = 'spotify'"
|
||||
"90:class_g = 'discord'"
|
||||
"90:class_g = 'code'"
|
||||
"90:class_g = 'org.wezfurlong.wezterm'"
|
||||
];
|
||||
|
||||
settings = {
|
||||
experimental-backend = true;
|
||||
backend = "glx";
|
||||
glx-no-stencil = true;
|
||||
glx-copy-from-font = false;
|
||||
use-damage = false;
|
||||
|
||||
frame-opacity = 1;
|
||||
blur-background = true;
|
||||
blur-method = "dual_kawase";
|
||||
blur-strength = 6;
|
||||
|
||||
corner-radius = 0;
|
||||
|
||||
# pijulius specifics
|
||||
animations = true;
|
||||
animation-stiffness = 500;
|
||||
animation-window-mass = 1.0;
|
||||
@ -30,23 +49,11 @@
|
||||
animation-for-menu-window = "slide-down";
|
||||
animation-for-transient-window = "slide-down";
|
||||
animation-for-unmap-window = "slide-up";
|
||||
animation-for-prev-tag = "slide-left";
|
||||
enable-fading-prev-tag = true;
|
||||
|
||||
animation-for-next-tag = "slide-right";
|
||||
animation-for-prev-tag = "slide-left";
|
||||
enable-fading-next-tag = true;
|
||||
|
||||
active-opacity = 0.95;
|
||||
inactive-opacity = 0.95;
|
||||
opacity-rule = [ "100:class_g = 'firefox'" ];
|
||||
|
||||
shadow = false;
|
||||
shadow-radius = 20;
|
||||
shadow-offset-x = -20;
|
||||
shadow-offset-y = -18;
|
||||
|
||||
no-fading-openclose = false;
|
||||
|
||||
vsync = true;
|
||||
enable-fading-prev-tag = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -12,7 +12,6 @@
|
||||
#});
|
||||
|
||||
awesome = inputs.nixpkgs-f2k.packages.${prev.system}.awesome-git.override { lua = prev.lua53Packages.lua; };
|
||||
picom = inputs.nixpkgs-f2k.packages.${prev.system}.picom-pijulius;
|
||||
};
|
||||
|
||||
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
|
||||
|
Reference in New Issue
Block a user