mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 07:32:55 +00:00
40 lines
970 B
Nix
40 lines
970 B
Nix
{ config, lib, identity, ... }: {
|
|
|
|
config = lib.mkIf config.services.xserver.enable {
|
|
home-manager.users.${identity.user} = {
|
|
|
|
services.picom = {
|
|
enable = true;
|
|
blur = false;
|
|
blurExclude = [ ];
|
|
# extraOptions = ''
|
|
# shadow-radius = 60
|
|
# corner-radius = 20
|
|
# '';
|
|
fade = false;
|
|
experimentalBackends = true;
|
|
inactiveDim = "0.05";
|
|
inactiveOpacity = "1.0";
|
|
menuOpacity = "1.0";
|
|
noDNDShadow = false;
|
|
opacityRule = [
|
|
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'" # Hide tabbed windows
|
|
];
|
|
shadow = false;
|
|
shadowExclude = [ ];
|
|
shadowOffsets = [ (-30) (-30) ];
|
|
shadowOpacity = "0.25";
|
|
vSync = false;
|
|
};
|
|
|
|
xsession.windowManager.i3.config.startup = [{
|
|
command = "systemctl --user restart picom";
|
|
always = true;
|
|
notification = false;
|
|
}];
|
|
|
|
};
|
|
};
|
|
|
|
}
|