remove the now-upstream console background patch

This commit is contained in:
Sean Buckley 2023-02-09 14:27:57 -05:00
parent 40c83aef7b
commit 347dfe59bc
2 changed files with 9 additions and 14 deletions

View file

@ -1,9 +0,0 @@
--- a/src/kgx-terminal.c
+++ b/src/kgx-terminal.c
@@ -159,5 +159,5 @@ update_terminal_colors (KgxTerminal *self)
default:
fg = (GdkRGBA) { 1.0, 1.0, 1.0, 1.0};
- bg = (GdkRGBA) { 0.05, 0.05, 0.05, 0.96 };
+ bg = (GdkRGBA) { 0.12, 0.12, 0.12, 1.0 };
break;
}

View file

@ -2,11 +2,15 @@
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (self: super: {
gnome-console = super.gnome-console.overrideAttrs (prev: { gnome-console = super.gnome-console.overrideAttrs (prev: {
patches = prev.patches ++ [ patches =
./background.patch (
./no-close-tab-prompt.patch if (builtins.elem "patches" (builtins.attrNames prev))
./tango.patch then prev.patches
]; else [ ]
) ++ [
./no-close-tab-prompt.patch
./tango.patch
];
}); });
}) })
]; ];