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 = { gui = {
enable = true; enable = true;
compositor.enable = true; compositor.enable = true;
colorscheme = (import ../../modules/colorscheme/gruvbox);
wallpaper = "${wallpapers}/gruvbox/road.jpg"; wallpaper = "${wallpapers}/gruvbox/road.jpg";
gtk.theme = { name = "Adwaita-dark"; }; gtk.theme = { name = "Adwaita-dark"; };
}; };
colorscheme = (import ../../modules/colorscheme/gruvbox);
passwordHash = passwordHash =
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF."; "$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
} }

View File

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