We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30113cf commit 4d3e6d7Copy full SHA for 4d3e6d7
src/wlr_layout_ui/__init__.py
@@ -57,7 +57,7 @@ def main():
57
for key in sorted(profiles.keys()):
58
prof_uids = {p["uid"] for p in profiles[key]}
59
# check that the two sets have the same elements
60
- if len(prof_uids - current_uids) == 0:
+ if len(prof_uids & current_uids) == len(current_uids):
61
print(f"Matched profile {key}. Applying it...")
62
apply_profile(profiles[key])
63
sys.exit(0)
0 commit comments