deter0 / xborder

Active window border replacement for window managers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't run

maze42d opened this issue · comments

commented
./xborders --help
Traceback (most recent call last):
  File "/home/maze/xborder/./xborders", line 10, in <module>
    import draw
  File "/home/maze/xborder/draw.py", line 14, in <module>
    border_color: list[int] | None,
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'NoneType'

Whatever I do, I get this. Running gentoo, python 3.9.

There is a workaround, if you edit the draw.py:14 like the following:

-    border_color: list[int] | None,
+    border_color: list[int],

then it will work :)