mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-25 03:51:34 +02:00
general: Remove -a
This commit is contained in:
parent
5c30ffb436
commit
fce0612cf9
@ -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)
|
||||
|
||||
|
||||
|
@ -9,8 +9,6 @@ import subprocess
|
||||
|
||||
class Color:
|
||||
"""Color formats."""
|
||||
alpha_num = 100
|
||||
|
||||
def __init__(self, hex_color):
|
||||
self.hex_color = hex_color
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user