diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-12-27 17:34:21 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-12-27 17:34:21 +1100 |
| commit | 57e6ef173d4fccb90cacf50a00ddb4dd54ebe963 (patch) | |
| tree | 4ee2f77d40cb9ccaddf570b4d45a7f7ce4923722 /pywal/reload.py | |
| parent | 72a7713ca8415f22198ff6abdb60b9ab44f4e974 (diff) | |
reload: Remove -r
Diffstat (limited to 'pywal/reload.py')
| -rw-r--r-- | pywal/reload.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pywal/reload.py b/pywal/reload.py index 7937e8f..4d3f69e 100644 --- a/pywal/reload.py +++ b/pywal/reload.py @@ -65,17 +65,3 @@ def env(xrdb_file=None): sway() polybar() print("reload: Reloaded environment.") - - -def colors(vte, cache_dir=CACHE_DIR): - """Reload the current scheme.""" - sequence_file = os.path.join(cache_dir, "sequences") - - if os.path.isfile(sequence_file): - sequences = "".join(util.read_file(sequence_file)) - - # If vte mode was used, remove the unsupported sequence. - if vte: - sequences = re.sub(r"\]708;(\[.{0,3}\])?\#.{6}", "", sequences) - - print(sequences, end="") |
