added picom jonaburg
This commit is contained in:
parent
20d49dea9f
commit
0a997c15b3
3 changed files with 54 additions and 10 deletions
17
flake.lock
17
flake.lock
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -11,16 +11,41 @@ let
|
|||
];
|
||||
blur = true;
|
||||
inactiveDim = "0.1";
|
||||
experimentalBackends = true;
|
||||
extraOptions = ''
|
||||
corner-radius = 10;
|
||||
rounded-cornes-exclude = [
|
||||
"class_g = 'Polybar'",
|
||||
"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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
extraOptions = ''
|
||||
corner-radius = 10;
|
||||
rounded-cornes-exclude = [
|
||||
"class_g = 'Polybar'",
|
||||
"class_g = 'Rofi'"
|
||||
]
|
||||
round-borders = 1;
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
home-manager.users.moritz = {...}: (base);
|
||||
|
|
Loading…
Reference in a new issue