summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwal8
1 files changed, 4 insertions, 4 deletions
diff --git a/wal b/wal
index 8e34683..939e831 100755
--- a/wal
+++ b/wal
@@ -1,7 +1,7 @@
#!/usr/bin/env python
"""
wal - Generate and change colorschemes on the fly.
-Created by Dylan Araps
+Created by Dylan Araps.
"""
import argparse
import os
@@ -79,7 +79,7 @@ def get_args():
def process_args(args):
- """Process args"""
+ """Process args."""
# If no args were passed.
if not len(sys.argv) > 1:
print("error: wal needs to be given arguments to run.\n"
@@ -196,7 +196,7 @@ def gen_colors(img):
"color palette, trying a larger palette size",
COLOR_COUNT + index)
- # Remove the first element, which isn"t a color.
+ # Remove the first element, which isn't a color.
del raw_colors[0]
# Create a list of hex colors.
@@ -293,7 +293,7 @@ def set_color(index, color):
def set_grey(colors):
- """Set a grey color based on brightness of color0"""
+ """Set a grey color based on brightness of color0."""
return {
0: "#666666",
1: "#666666",