mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 03:13:47 +01:00
commit
53740712a6
@ -48,6 +48,12 @@ def i3():
|
|||||||
util.disown(["i3-msg", "reload"])
|
util.disown(["i3-msg", "reload"])
|
||||||
|
|
||||||
|
|
||||||
|
def bspwm():
|
||||||
|
"""Reload bspwm colors."""
|
||||||
|
if shutil.which("bspc") and util.get_pid("bspwm"):
|
||||||
|
util.disown(["bspc", "wm", "-r"])
|
||||||
|
|
||||||
|
|
||||||
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"):
|
||||||
@ -81,6 +87,7 @@ def env(xrdb_file=None, tty_reload=True):
|
|||||||
"""Reload environment."""
|
"""Reload environment."""
|
||||||
xrdb(xrdb_file)
|
xrdb(xrdb_file)
|
||||||
i3()
|
i3()
|
||||||
|
bspwm()
|
||||||
kitty()
|
kitty()
|
||||||
sway()
|
sway()
|
||||||
polybar()
|
polybar()
|
||||||
|
Loading…
Reference in New Issue
Block a user