From 17ed8de4ddcacd293f13270a4855bab8ef6e8f38 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 3 Apr 2018 10:57:23 +1000 Subject: sequences: Set cursor color to foreground. --- pywal/colors.py | 2 +- pywal/colorschemes/gruvbox.json | 2 +- pywal/sequences.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pywal/colors.py b/pywal/colors.py index 5cc2a9b..34fe521 100644 --- a/pywal/colors.py +++ b/pywal/colors.py @@ -28,7 +28,7 @@ def colors_to_dict(colors, img): "special": { "background": colors[0], "foreground": colors[15], - "cursor": colors[1] + "cursor": colors[15] }, "colors": { diff --git a/pywal/colorschemes/gruvbox.json b/pywal/colorschemes/gruvbox.json index 6f864d6..0033f7b 100644 --- a/pywal/colorschemes/gruvbox.json +++ b/pywal/colorschemes/gruvbox.json @@ -2,7 +2,7 @@ "special": { "background": "#282828", "foreground": "#a89984", - "cursor": "#cc241d" + "cursor": "#a89984" }, "colors": { "color0": "#282828", diff --git a/pywal/sequences.py b/pywal/sequences.py index 0a6a99e..3d6e6ca 100644 --- a/pywal/sequences.py +++ b/pywal/sequences.py @@ -51,7 +51,7 @@ def create_sequences(colors): # 13 = mouse foreground sequences.extend([set_special(10, colors["special"]["foreground"], "g"), set_special(11, colors["special"]["background"], "h"), - set_special(12, colors["colors"]["color9"], "l"), + set_special(12, colors["special"]["cursor"], "l"), set_special(13, colors["special"]["foreground"], "l"), set_special(17, colors["special"]["foreground"], "l"), set_special(19, colors["special"]["background"], "l")]) -- cgit v1.2.3