diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-03-13 15:32:47 +0200 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-03-13 15:32:47 +0200 |
| commit | c823e3c9dbd0100ca09caf824e77d296685a1c1e (patch) | |
| tree | ab4760279c945fc3cc22558c3562447487cc6c89 /pywal/sequences.py | |
| parent | c1f8b7bb98f3c829b18eb8d93aba4209fa2e5043 (diff) | |
| parent | 975c00f30e7a9e0a40afc7bf0f2c1f2d06419867 (diff) | |
Merge branch 'master' of github.com:dylanaraps/pywal
Diffstat (limited to 'pywal/sequences.py')
| -rw-r--r-- | pywal/sequences.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pywal/sequences.py b/pywal/sequences.py index b42c3b7..b5028bc 100644 --- a/pywal/sequences.py +++ b/pywal/sequences.py @@ -11,7 +11,7 @@ from . import util def set_special(index, color, iterm_name="h", alpha=100): """Convert a hex color to a special sequence.""" - if OS == "Darwin": + if OS == "Darwin" and iterm_name: return "\033]P%s%s\033\\" % (iterm_name, color.strip("#")) if index in [11, 708] and alpha != "100": @@ -51,16 +51,16 @@ def create_sequences(colors, vte_fix=False): set_special(10, colors["special"]["foreground"], "g"), set_special(11, colors["special"]["background"], "h", alpha), 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"), + set_special(13, colors["special"]["foreground"], "j"), + set_special(17, colors["special"]["foreground"], "k"), + set_special(19, colors["special"]["background"], "m"), set_color(232, colors["special"]["background"]), set_color(256, colors["special"]["foreground"]) ]) if not vte_fix: sequences.extend( - set_special(708, colors["special"]["background"], "l", alpha) + set_special(708, colors["special"]["background"], "", alpha) ) if OS == "Darwin": |
