Full transparency
This commit is contained in:
parent
caca4ba9bf
commit
59d1656021
|
@ -62,6 +62,9 @@ def fade(ipc, opacity):
|
||||||
elif float(opacity) >= (i/100):
|
elif float(opacity) >= (i/100):
|
||||||
w.command("opacity "+str(float(opacity)-(i/100)))
|
w.command("opacity "+str(float(opacity)-(i/100)))
|
||||||
time.sleep(0.005)
|
time.sleep(0.005)
|
||||||
|
for workspace in ipc.get_tree().workspaces():
|
||||||
|
for w in workspace:
|
||||||
|
w.command("opacity 0")
|
||||||
Path(flag).touch()
|
Path(flag).touch()
|
||||||
|
|
||||||
def remove_opacity(ipc):
|
def remove_opacity(ipc):
|
||||||
|
|
Loading…
Reference in New Issue