diff options
Diffstat (limited to 'pywal/export.py')
| -rw-r--r-- | pywal/export.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/pywal/export.py b/pywal/export.py index a153f7f..bfe3974 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -1,8 +1,6 @@ """ Export colors in various formats. """ -import pathlib -import re import shutil import subprocess @@ -17,23 +15,6 @@ def save_colors(colors, export_file, message): print(f"export: exported {message}.") -def reload_colors(vte): - """Reload colors.""" - sequence_file = pathlib.Path(s.CACHE_DIR / "sequences") - - if sequence_file.is_file(): - sequences = "".join(util.read_file(sequence_file)) - - # If vte mode was used, remove the problem sequence. - if vte: - sequences = re.sub(r"\]708;\#.{6}", "", sequences) - - # Make the terminal interpret escape sequences. - print(util.fix_escape(sequences), end="") - - exit(0) - - def reload_xrdb(export_file): """Merge the colors into the X db so new terminals use them.""" if shutil.which("xrdb"): |
