mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-24 19:41:25 +02: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():
|
def kitty():
|
||||||
""" Reload kitty colors. """
|
""" Reload kitty colors. """
|
||||||
if shutil.which("kitty") and util.get_pid("kitty"):
|
if shutil.which("kitty") and util.get_pid("kitty") and os.getenv('TERM') == 'xterm-kitty':
|
||||||
util.disown(["kitty", "@", "set-colors", "--all"])
|
subprocess.call(["kitty", "@", "set-colors", "--all", os.path.join(CACHE_DIR, "colors-kitty.conf")])
|
||||||
|
|
||||||
|
|
||||||
def polybar():
|
def polybar():
|
||||||
|
@ -2,6 +2,11 @@ foreground {foreground}
|
|||||||
background {background}
|
background {background}
|
||||||
cursor {cursor}
|
cursor {cursor}
|
||||||
|
|
||||||
|
active_tab_foreground {foreground}
|
||||||
|
active_tab_background {background}
|
||||||
|
inactive_tab_foreground {background}
|
||||||
|
inactive_tab_background {foreground}
|
||||||
|
|
||||||
color0 {color0}
|
color0 {color0}
|
||||||
color8 {color8}
|
color8 {color8}
|
||||||
color1 {color1}
|
color1 {color1}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user