mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-03-13 14:48:29 +01:00
Fix changing kitty's colors. Kitty must be run with -1 or --single-instance to affect all open kitty windows. Only works when wal is run from kitty.
This commit is contained in:
parent
c823e3c9db
commit
3ffd44185b
@ -56,8 +56,8 @@ def bspwm():
|
||||
|
||||
def kitty():
|
||||
""" Reload kitty colors. """
|
||||
if shutil.which("kitty") and util.get_pid("kitty"):
|
||||
util.disown(["kitty", "@", "set-colors", "--all"])
|
||||
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():
|
||||
|
@ -2,6 +2,11 @@ foreground {foreground}
|
||||
background {background}
|
||||
cursor {cursor}
|
||||
|
||||
active_tab_foreground {foreground}
|
||||
active_tab_background {background}
|
||||
inactive_tab_foreground {background}
|
||||
inactive_tab_background {foreground}
|
||||
|
||||
color0 {color0}
|
||||
color8 {color8}
|
||||
color1 {color1}
|
||||
|
Loading…
Reference in New Issue
Block a user