diff options
Diffstat (limited to 'pywal/util.py')
| -rw-r--r-- | pywal/util.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pywal/util.py b/pywal/util.py index c609f71..37df3a8 100644 --- a/pywal/util.py +++ b/pywal/util.py @@ -33,6 +33,11 @@ class Color: """Add URxvt alpha value to color.""" return "[%s]%s" % (self.alpha_num, self.hex_color) + @property + def strip(self): + """Strip '#' from color.""" + return self.hex_color[1:] + def read_file(input_file): """Read data from a file and trim newlines.""" |
