aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-12-29 07:40:20 +1100
committerDylan Araps <[email protected]>2017-12-29 07:40:20 +1100
commitfce0612cf9172fb439fd8ddfa8c90496cc324c3d (patch)
tree6bb0f57ea259ee5f7c724e668903280d2bdae65b
parentgeneral: Remove -a (diff)
downloadpywal-noa.tar.xz
pywal-noa.zip
general: Remove -anoa
-rw-r--r--pywal/sequences.py5
-rw-r--r--pywal/util.py2
2 files changed, 0 insertions, 7 deletions
diff --git a/pywal/sequences.py b/pywal/sequences.py
index 222d2b9..c288341 100644
--- a/pywal/sequences.py
+++ b/pywal/sequences.py
@@ -10,14 +10,9 @@ from . import util
def set_special(index, color, iterm_name="h"):
"""Convert a hex color to a special sequence."""
- alpha = util.Color.alpha_num
-
if OS == "Darwin":
return "\033]P%s%s\033\\" % (iterm_name, color.strip("#"))
- if index in [11, 708] and alpha != 100:
- return "\033]%s;[%s]%s\033\\" % (index, alpha, color)
-
return "\033]%s;%s\033\\" % (index, color)
diff --git a/pywal/util.py b/pywal/util.py
index 8fb8255..a28e6a5 100644
--- a/pywal/util.py
+++ b/pywal/util.py
@@ -9,8 +9,6 @@ import subprocess
class Color:
"""Color formats."""
- alpha_num = 100
-
def __init__(self, hex_color):
self.hex_color = hex_color