🚀 use picom next
parent
9676593e96
commit
69d5aca908
17
flake.lock
17
flake.lock
|
@ -223,22 +223,6 @@
|
||||||
"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": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
|
@ -247,7 +231,6 @@
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"picom": "picom",
|
|
||||||
"stable": "stable",
|
"stable": "stable",
|
||||||
"statix": "statix",
|
"statix": "statix",
|
||||||
"utils": "utils"
|
"utils": "utils"
|
||||||
|
|
|
@ -18,10 +18,6 @@
|
||||||
|
|
||||||
statix.url = "github:nerdypepper/statix";
|
statix.url = "github:nerdypepper/statix";
|
||||||
|
|
||||||
picom = {
|
|
||||||
url = "github:jonaburg/picom";
|
|
||||||
flake = false;
|
|
||||||
};
|
|
||||||
forgit-git = {
|
forgit-git = {
|
||||||
url = "github:wfxr/forgit";
|
url = "github:wfxr/forgit";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
|
|
@ -2,22 +2,16 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.users.moritz = {
|
home-manager.users.moritz = {
|
||||||
|
|
||||||
services.picom = {
|
services.picom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.picom-next;
|
||||||
blur = true;
|
blur = true;
|
||||||
blurExclude = [ "class_g = 'Polybar'" ];
|
blurExclude = [ "class_g = 'Polybar'" ];
|
||||||
experimentalBackends = true;
|
experimentalBackends = true;
|
||||||
inactiveOpacity = "0.90";
|
inactiveOpacity = "0.97";
|
||||||
opacityRule = [ "100:fullscreen" "100:class_g = 'Polybar'" ];
|
opacityRule = [ "100:fullscreen" "100:class_g = 'Polybar'" ];
|
||||||
vSync = true;
|
vSync = true;
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
corner-radius = 10;
|
|
||||||
rounded-corners-exclude = [
|
|
||||||
"class_g = 'Polybar'"
|
|
||||||
]
|
|
||||||
round-borders = 1;
|
|
||||||
|
|
||||||
# improve performance
|
# improve performance
|
||||||
glx-no-rebind-pixmap = true;
|
glx-no-rebind-pixmap = true;
|
||||||
glx-no-stencil = true;
|
glx-no-stencil = true;
|
||||||
|
@ -29,11 +23,6 @@
|
||||||
blur-background-fixed = false;
|
blur-background-fixed = false;
|
||||||
blur-method = "dual_kawase";
|
blur-method = "dual_kawase";
|
||||||
blur-strength = 2;
|
blur-strength = 2;
|
||||||
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)
|
# group wintypes and don't focus a menu (Telegram)
|
||||||
detect-transient = true;
|
detect-transient = true;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ inputs }:
|
{ inputs }:
|
||||||
|
|
||||||
final: prev: {
|
final: prev: {
|
||||||
picom = prev.picom.overrideAttrs (old: { src = inputs.picom; });
|
|
||||||
stable = import inputs.stable {
|
stable = import inputs.stable {
|
||||||
inherit (prev) system;
|
inherit (prev) system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
|
|
Loading…
Reference in New Issue