[~] Refactor

This commit is contained in:
Siarhei Siniak 2023-02-12 21:26:28 +03:00
parent 80bbc74d6b
commit 6cc7222676

@ -1464,6 +1464,11 @@ def desktop_services(argv):
])
if len(self.events) > 0:
while True:
if subprocess.call(['swaymsg', '-t', 'get_version']) == 0:
break
time.sleep(0.5)
for o in self.events:
if o == 't1':
#if self.force_idle():