aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-06-26 10:10:55 +1000
committerDylan Araps <[email protected]>2017-06-26 10:10:55 +1000
commit6c7d6370a638315f788cd0981096acb8b8e292e0 (patch)
tree5188f6fd38d31925b8af8a15ce8f2b5387e7d4f1
parentDOCS: CHANGELOG (diff)
downloadpywal-6c7d6370a638315f788cd0981096acb8b8e292e0.tar.xz
pywal-6c7d6370a638315f788cd0981096acb8b8e292e0.zip
General: Revert fix.
-rwxr-xr-xwal6
1 files changed, 1 insertions, 5 deletions
diff --git a/wal b/wal
index dcb45c3..942515f 100755
--- a/wal
+++ b/wal
@@ -273,10 +273,6 @@ def set_special(index, color):
ColorType.xrdb.append(f"URxvt*cursorColor: {color}")
ColorType.xrdb.append(f"XTerm*cursorColor: {color}")
- elif index == 66:
- ColorType.xrdb.append(f"*color{index}: {color}")
- ColorType.sequences.append(f"\\033]4;{index};{color}\\007")
-
def set_color(index, color):
"""Build the escape sequence we need for each color."""
@@ -324,7 +320,7 @@ def send_sequences(colors, vte):
[set_color(num, color) for num, color in enumerate(colors)]
# Set a blank color that isn"t affected by bold highlighting.
- set_special(66, colors[0])
+ set_color(66, colors[0])
# Make the terminal interpret escape sequences.
sequences = fix_escape("".join(ColorType.sequences))