Full transparency

This commit is contained in:
John Mertz 2023-05-13 14:10:26 -04:00
parent caca4ba9bf
commit 59d1656021
Signed by: jpm
GPG Key ID: E9C5EA2D867501AB
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ def fade(ipc, opacity):
elif float(opacity) >= (i/100):
w.command("opacity "+str(float(opacity)-(i/100)))
time.sleep(0.005)
for workspace in ipc.get_tree().workspaces():
for w in workspace:
w.command("opacity 0")
Path(flag).touch()
def remove_opacity(ipc):