ImgMask not working properly
Closed this issue · 4 comments
ervinpopescu commented
huh-.2.mp4
huh-.3.mp4
No errors in log.
$ grep -w '^Version' /usr/lib/python3.11/site-packages/qtile_extras-*.dist-info/METADATA | awk -F":" '{print $2}'
0.22.2.dev114+ged01fd8
elParaguayo commented
Have you got decorations on that widget? I can't see any in that config screenshot but it looks like there's a rect decoration around it.
I've just tested that widget on my system and it works fine with no decoration but does break when there is a decoration.
elParaguayo commented
Can you try #268 please.
ervinpopescu commented
Yes, I have decorations. Sorry, busy day, will give you the updated widget right now.
current_layout_icon = widget.CurrentLayoutIcon(
padding=13,
scale=0.8,
mouse_callbacks={
"Button2": set_layout_all(),
"Button3": lazy.spawn("/home/ervin/bin/rofi_layout.py"),
},
# use_mask=True,
foreground=colors["darkblue"],
decorations=[
RectDecoration(
colour=decor_bg,
radius=20,
filled=True,
padding_y=0,
padding_x=0,
),
],
)
#268 works! Closing this now or will you close it in the PR?
elParaguayo commented
It will close with the PR.
Can you confirm it works for your other issue too?