blob: 26518e04ba336fa943f2d43cad79295f14d179be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
{
config,
pkgs,
...
}: let
vars = import ./variables.nix;
in {
# Picom compositor configuration
# CRT-inspired effects: green glow shadows, transparency, blur, rounded corners
services.picom = {
enable = true;
backend = "glx";
vSync = true;
# Opacity settings
opacity = 0.95;
activeOpacity = 0.95;
inactiveOpacity = 0.90;
opacityRules = [
"90:class_g = 'Xfce4-terminal'"
"90:class_g = 'xfce4-terminal'"
"95:class_g = 'Thunar'"
"95:class_g = 'Mousepad'"
"90:class_g = 'Rofi'"
"100:class_g = 'Firefox'"
"100:class_g = 'Chromium'"
];
# Fading
fade = true;
fadeDelta = 5;
fadeSteps = [ 0.028 0.03 ];
# Shadows - CRT green glow effect
shadow = true;
shadowOpacity = 0.6;
shadowOffsets = [ (-15) (-15) ];
shadowRadius = 20;
# CRT green glow color (hex format: #RRGGBB)
shadowColor = "#00FF00";
shadowExclude = [
"name = 'Notification'"
"class_g = 'Conky'"
"class_g ?= 'Notify-osd'"
"class_g = 'Cairo-clock'"
"_GTK_FRAME_EXTENTS@:c"
];
# Blur settings
blur = {
enable = true;
method = "dual_kawase";
strength = 6;
};
blurExclude = [
"window_type = 'dock'"
"window_type = 'desktop'"
"_GTK_FRAME_EXTENTS@:c"
];
# Rounded corners - 12px radius
cornerRadius = 12;
roundedCornersExclude = [
"window_type = 'dock'"
"window_type = 'desktop'"
];
# Window animations (picom-pijulius style)
# Note: Standard picom may not support all animation options
# If animations cause issues, these can be removed
settings = {
# Animation settings (if using picom-pijulius)
animations = true;
animation-stiffness = 200;
animation-window-mass = 0.5;
animation-dampening = 20;
animation-clamping = false;
# Animation for window open - slide down (CRT scan-line effect)
animation-for-open-window = "slide-down";
# Animation for window close - slide up
animation-for-unmap-window = "slide-up";
# Animation for transient windows - zoom
animation-for-transient-window = "zoom";
# Focus/unfocus animations
animation-for-prev-tag = "minimize";
animation-for-next-tag = "slide-down";
# Additional GLX backend settings
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
use-damage = true;
# Detect settings
detect-rounded-corners = true;
detect-client-opacity = true;
detect-transient = true;
detect-client-leader = true;
# Window type settings
wintypes = {
tooltip = {
fade = true;
shadow = false;
opacity = 0.90;
focus = true;
full-shadow = false;
};
dock = {
shadow = false;
clip-shadow-above = true;
};
dnd = {
shadow = false;
};
popup_menu = {
opacity = 0.90;
shadow = true;
};
dropdown_menu = {
opacity = 0.90;
shadow = true;
};
};
};
};
}
|