foot-git: re-add fullstreen alpha patch

This commit is contained in:
raf 2025-04-19 19:37:53 +03:00
commit 6ce880fe0c
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
2 changed files with 90 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{
withAlphaPatch ? true,
lib,
fetchFromGitea,
foot,
@ -6,7 +7,7 @@
date,
...
}:
foot.overrideAttrs (let
foot.overrideAttrs (oldAttrs: let
pin = pins.foot;
in {
pname = "foot-transparent";
@ -20,6 +21,14 @@ in {
sha256 = pin.hash;
};
patches =
(oldAttrs.patches or [])
++ (lib.optionals withAlphaPatch [
# Thank you fazzi :)
# <https://codeberg.org/fazzi/foot/commit/bebc6f0ffd0d767f560ee50825a0b0fba197c90f.patch>
./patches/foot_fullscreen_alpha.patch
]);
meta = {
description = "An auto-upgrading version of FOot to ensure we are always up to dates";
mainProgram = "foot";