mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-08-16 09:17:48 +02:00
Shorten lines for Travis CI
This commit is contained in:
@ -56,8 +56,13 @@ def bspwm():
|
|||||||
|
|
||||||
def kitty():
|
def kitty():
|
||||||
""" Reload kitty colors. """
|
""" Reload kitty colors. """
|
||||||
if shutil.which("kitty") and util.get_pid("kitty") and os.getenv('TERM') == 'xterm-kitty':
|
if (shutil.which("kitty")
|
||||||
subprocess.call(["kitty", "@", "set-colors", "--all", os.path.join(CACHE_DIR, "colors-kitty.conf")])
|
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():
|
def polybar():
|
||||||
|
Reference in New Issue
Block a user