added picom jonaburg

This commit is contained in:
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" "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": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"picom": "picom",
"unstable": "unstable", "unstable": "unstable",
"utils": "utils" "utils": "utils"
} }

View file

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

View file

@ -11,7 +11,7 @@ let
]; ];
blur = true; blur = true;
inactiveDim = "0.1"; inactiveDim = "0.1";
}; experimentalBackends = true;
extraOptions = '' extraOptions = ''
corner-radius = 10; corner-radius = 10;
rounded-cornes-exclude = [ rounded-cornes-exclude = [
@ -19,8 +19,33 @@ let
"class_g = 'Rofi'" "class_g = 'Rofi'"
] ]
round-borders = 1; 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 in
{ {
home-manager.users.moritz = {...}: (base); home-manager.users.moritz = {...}: (base);