added picom jonaburg

nixos
Moritz Böhme 2021-09-10 09:16:30 +00:00
parent 20d49dea9f
commit 0a997c15b3
3 changed files with 54 additions and 10 deletions

View File

@ -52,10 +52,27 @@
"type": "github"
}
},
"picom": {
"flake": false,
"locked": {
"lastModified": 1606582992,
"narHash": "sha256-R+YUGBrLst6CpUgG9VCwaZ+LiBSDWTp0TLt1Ou4xmpQ=",
"owner": "jonaburg",
"repo": "picom",
"rev": "a8445684fe18946604848efb73ace9457b29bf80",
"type": "github"
},
"original": {
"owner": "jonaburg",
"repo": "picom",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"picom": "picom",
"unstable": "unstable",
"utils": "utils"
}

View File

@ -6,10 +6,10 @@
./dunst
./emacs
./polybar
./rofi
./git.nix
./kitty.nix
./picom.nix
./rofi.nix
./zathura.nix
./zsh.nix
];
@ -48,6 +48,8 @@
home.packages = with pkgs; [
neofetch
keepassxc
spotify
spicetify-cli
];
home.stateVersion = "21.05";

View File

@ -11,7 +11,7 @@ let
];
blur = true;
inactiveDim = "0.1";
};
experimentalBackends = true;
extraOptions = ''
corner-radius = 10;
rounded-cornes-exclude = [
@ -19,8 +19,33 @@ let
"class_g = 'Rofi'"
]
round-borders = 1;
# improve performance
glx-no-rebind-pixmap = true;
glx-no-stencil = true;
# fastest swap method
glx-swap-method = 1;
# dual kawase blur
blur-background-fixed = false;
# blur-method = "dual_kawase";
blur-strength = 10;
use-ewmh-active-win = true;
detect-rounded-corners = true;
# stop compositing if there's a fullscreen program
unredir-if-possible = true;
# group wintypes and don't focus a menu (Telegram)
detect-transient = true;
detect-client-leader = true;
# needed for nvidia with glx backend
xrender-sync-fence = true;
'';
};
};
in
{
home-manager.users.moritz = {...}: (base);