mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-12 16:29:38 +01:00
general: cleanup
This commit is contained in:
parent
c8f76a5604
commit
1f531160d6
@ -64,7 +64,7 @@ def process_args(args):
|
||||
exit(1)
|
||||
|
||||
if args.i and args.f:
|
||||
print("error: conflicting arguments -i and -f.\n"
|
||||
print("error: Conflicting arguments -i and -f.\n"
|
||||
" Refer to \"wal -h\" for more info.")
|
||||
exit(1)
|
||||
|
||||
|
@ -29,7 +29,6 @@ def template(colors, input_file, output_dir):
|
||||
|
||||
def export_all_templates(colors, template_dir=None, output_dir=CACHE_DIR):
|
||||
"""Export all template files."""
|
||||
|
||||
# Add the template dir to module path.
|
||||
template_dir = template_dir or \
|
||||
os.path.join(os.path.dirname(__file__), "templates")
|
||||
|
@ -20,7 +20,6 @@ def set_color(index, color):
|
||||
|
||||
def send_sequences(colors, vte):
|
||||
"""Send colors to all open terminals."""
|
||||
|
||||
# Colors 0-15.
|
||||
sequences = [set_color(num, color)
|
||||
for num, color in enumerate(colors["colors"].values())]
|
||||
|
Loading…
Reference in New Issue
Block a user