Swappy: Remove tab trim from the patch.
This commit is contained in:
parent
8bfcebcd27
commit
8e5843f1c3
|
@ -2,7 +2,6 @@
|
||||||
__findFile,
|
__findFile,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
util,
|
|
||||||
...
|
...
|
||||||
} @args: {
|
} @args: {
|
||||||
# SEE: https://github.com/jtheoof/swappy/issues/131
|
# SEE: https://github.com/jtheoof/swappy/issues/131
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
util,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
color = config.module.style.color;
|
color = config.module.style.color;
|
||||||
|
@ -9,7 +8,7 @@
|
||||||
accentG = color.accent-dec-g;
|
accentG = color.accent-dec-g;
|
||||||
accentB = color.accent-dec-b;
|
accentB = color.accent-dec-b;
|
||||||
in {
|
in {
|
||||||
file = pkgs.writeText "SwappyDefaultColorPatch" (util.trimTabs ''
|
file = pkgs.writeText "SwappyDefaultColorPatch" ''
|
||||||
diff --git a/src/application.c b/src/application.c
|
diff --git a/src/application.c b/src/application.c
|
||||||
index 5b98590..86788b6 100644
|
index 5b98590..86788b6 100644
|
||||||
--- a/src/application.c
|
--- a/src/application.c
|
||||||
|
@ -27,5 +26,5 @@ index 5b98590..86788b6 100644
|
||||||
state->settings.a = 1;
|
state->settings.a = 1;
|
||||||
state->settings.w = state->config->line_size;
|
state->settings.w = state->config->line_size;
|
||||||
state->settings.t = state->config->text_size;
|
state->settings.t = state->config->text_size;
|
||||||
'');
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue