Swappy: Remove tab trim from the patch.
This commit is contained in:
parent
8bfcebcd27
commit
8e5843f1c3
|
@ -2,7 +2,6 @@
|
|||
__findFile,
|
||||
config,
|
||||
pkgs,
|
||||
util,
|
||||
...
|
||||
} @args: {
|
||||
# SEE: https://github.com/jtheoof/swappy/issues/131
|
||||
|
|
|
@ -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;
|
||||
'');
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue