fixes for latest picom on nixos desktop

This commit is contained in:
Noah Masur 2022-09-09 17:16:13 -04:00
parent 39d465c7c1
commit 14cb90cd52
2 changed files with 22 additions and 22 deletions

View File

@ -16,10 +16,10 @@ nixpkgs.lib.nixosSystem {
gui = {
enable = true;
compositor.enable = true;
colorscheme = (import ../../modules/colorscheme/gruvbox);
wallpaper = "${wallpapers}/gruvbox/road.jpg";
gtk.theme = { name = "Adwaita-dark"; };
};
colorscheme = (import ../../modules/colorscheme/gruvbox);
passwordHash =
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
}

View File

@ -6,12 +6,14 @@
services.picom = {
enable = true;
settings = {
blur = false;
blurExclude = [ ];
# extraOptions = ''
inactiveDim = "0.05";
noDNDShadow = false;
noDockShadow = false;
# shadow-radius = 20
# '';
# extraOptions = ''
# shadow-radius = 20
# corner-radius = 10
# blur-size = 20
@ -20,20 +22,18 @@
# "class_g = 'i3-frame'"
# ]
# '';
};
fade = false;
experimentalBackends = true;
inactiveDim = "0.05";
inactiveOpacity = "1.0";
menuOpacity = "1.0";
noDNDShadow = false;
noDockShadow = false;
opacityRule = [
inactiveOpacity = 1.0;
menuOpacity = 1.0;
opacityRules = [
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'" # Hide tabbed windows
];
shadow = false;
shadowExclude = [ ];
shadowOffsets = [ (-10) (-10) ];
shadowOpacity = "0.5";
shadowOpacity = 0.5;
vSync = true;
};