sway detection altered

This commit is contained in:
piotr
2021-02-05 01:04:27 +01:00
parent fda5a0165e
commit 78190bd1bb
4 changed files with 16 additions and 11 deletions

View File

@@ -1,10 +1,12 @@
#!/usr/bin/env python3
import os
sway = False
if sway:
if os.getenv('SWAYSOCK') is not None:
from i3ipc import Connection
i3 = Connection()
ipc_data = None
outputs = {}