mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-07 02:06:34 +05:30
refactor: change folder name
This commit is contained in:
64
modules/home/picom/default.nix
Normal file
64
modules/home/picom/default.nix
Normal file
@ -0,0 +1,64 @@
|
||||
{pkgs, ...}: {
|
||||
services.picom = {
|
||||
enable = true;
|
||||
package = pkgs.picom-next;
|
||||
|
||||
backend = "glx";
|
||||
vSync = true;
|
||||
|
||||
fade = true;
|
||||
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'"
|
||||
"90:class_g = 'wezterm-floating'"
|
||||
];
|
||||
|
||||
settings = {
|
||||
glx-no-stencil = true;
|
||||
glx-copy-from-font = false;
|
||||
use-damage = false;
|
||||
|
||||
frame-opacity = 1;
|
||||
blur-background = true;
|
||||
blur-method = "dual_kawase";
|
||||
blur-strength = 10;
|
||||
|
||||
corner-radius = 8;
|
||||
|
||||
rounded-corners-exclude = [
|
||||
"window_type = 'dock'"
|
||||
];
|
||||
|
||||
# pijulius specifics
|
||||
animations = true;
|
||||
animation-stiffness = 500;
|
||||
animation-window-mass = 1.0;
|
||||
animation-dampening = 26;
|
||||
animation-delta = 10;
|
||||
animation-force_steps = false;
|
||||
animation-clamping = true;
|
||||
|
||||
animation-for-open-window = "slide-up";
|
||||
animation-for-menu-window = "slide-down";
|
||||
animation-for-transient-window = "slide-down";
|
||||
animation-for-unmap-window = "slide-up";
|
||||
|
||||
animation-for-next-tag = "slide-right";
|
||||
animation-for-prev-tag = "slide-left";
|
||||
enable-fading-next-tag = true;
|
||||
enable-fading-prev-tag = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user