check every return value in batch mode
This commit is contained in:
parent
ec09db0248
commit
e2d996f1e0
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ async def hyprctl(command):
|
|||
await ctl_writer.wait_closed()
|
||||
if DEBUG:
|
||||
print("<<<", resp)
|
||||
return resp == b"ok"
|
||||
return resp == b"ok" * (len(resp) // 2)
|
||||
|
||||
|
||||
async def get_focused_monitor_props():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue