mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-23 06:18:35 +01:00
Shorten lines for Travis CI
This commit is contained in:
parent
04413ee285
commit
b78bf719e6
@ -56,8 +56,13 @@ def bspwm():
|
||||
|
||||
def kitty():
|
||||
""" Reload kitty colors. """
|
||||
if shutil.which("kitty") and util.get_pid("kitty") and os.getenv('TERM') == 'xterm-kitty':
|
||||
subprocess.call(["kitty", "@", "set-colors", "--all", os.path.join(CACHE_DIR, "colors-kitty.conf")])
|
||||
if (shutil.which("kitty")
|
||||
and util.get_pid("kitty")
|
||||
and os.getenv('TERM') == 'xterm-kitty'):
|
||||
subprocess.call([
|
||||
"kitty", "@", "set-colors", "--all",
|
||||
os.path.join(CACHE_DIR, "colors-kitty.conf")
|
||||
])
|
||||
|
||||
|
||||
def polybar():
|
||||
|
Loading…
Reference in New Issue
Block a user