1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 10:41:06 +01:00
Files
niveum/configs/picom.nix

26 lines
575 B
Nix
Raw Normal View History

2019-04-19 03:11:51 +02:00
{
2023-02-07 22:30:16 +01:00
services.picom = {
2019-04-19 03:11:51 +02:00
enable = true;
2023-02-07 22:30:16 +01:00
activeOpacity = 1;
fade = true;
2023-02-25 08:32:13 +01:00
fadeDelta = 1;
inactiveOpacity = 0.9;
2019-04-19 03:11:51 +02:00
shadow = true;
2020-10-24 11:49:34 +02:00
menuOpacity = 0.9;
shadowOpacity = 0.3;
2023-03-24 00:12:23 +01:00
fadeExclude = [
"class_g = 'slock'" # don't want a transparent lock screen!
"name *?= 'slock'"
"focused = 1"
];
opacityRules = [
# opacity-rule overrides both inactive and active opacity
# video in browser tabs
# substring /regex match of title bar text
2023-03-24 00:12:23 +01:00
"99:name *?= 'Youtube'"
"99:WM_CLASS@:s *= 'mpv$'"
];
2019-04-19 03:11:51 +02:00
};
}