Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 5b8bddb

Browse files
committed
feat: add group hashing
1 parent b329cd5 commit 5b8bddb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/progman/core/group.py

+3
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ def set_geometry(self, geometry: str) -> None:
2525
x, _delimiter, y = position.partition("+")
2626
self.position = (int(x), int(y))
2727
self.size = (int(width), int(height))
28+
29+
def __hash__(self) -> int:
30+
return hash("".join([str(hash(shortcut)) for shortcut in self.shortcuts]))

0 commit comments

Comments
 (0)