From 8e5843f1c38136e5c0540e9e6ca5d84728ae6a4c Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 23 Nov 2024 07:29:35 +0300 Subject: [PATCH] Swappy: Remove tab trim from the patch. --- overlay/Swappy.nix | 1 - patch/swappy/DefaultColor.nix | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/overlay/Swappy.nix b/overlay/Swappy.nix index 8137a413..f6e12e75 100644 --- a/overlay/Swappy.nix +++ b/overlay/Swappy.nix @@ -2,7 +2,6 @@ __findFile, config, pkgs, - util, ... } @args: { # SEE: https://github.com/jtheoof/swappy/issues/131 diff --git a/patch/swappy/DefaultColor.nix b/patch/swappy/DefaultColor.nix index fa50f975..6046349a 100644 --- a/patch/swappy/DefaultColor.nix +++ b/patch/swappy/DefaultColor.nix @@ -1,7 +1,6 @@ { config, pkgs, - util, ... }: let color = config.module.style.color; @@ -9,7 +8,7 @@ accentG = color.accent-dec-g; accentB = color.accent-dec-b; in { - file = pkgs.writeText "SwappyDefaultColorPatch" (util.trimTabs '' + file = pkgs.writeText "SwappyDefaultColorPatch" '' diff --git a/src/application.c b/src/application.c index 5b98590..86788b6 100644 --- a/src/application.c @@ -27,5 +26,5 @@ index 5b98590..86788b6 100644 state->settings.a = 1; state->settings.w = state->config->line_size; state->settings.t = state->config->text_size; - ''); + ''; }