Open BRS5672023 opened 4 weeks ago
Can you try the patch in #189?
Can you try the patch in #189?
Thx, your patch indeed fixes my problem, I missed the part setting anchor=center
in my tofi config explicitly, which seems to be necessary?
Thx, your patch indeed fixes my problem, I missed the part setting
anchor=center
in my tofi config explicitly, which seems to be necessary?
anchor=center
is necessary only if you want tofi to appear in the center of the screen (but i believe center is the default value, so even if you don't specify it explicitly it should appear in the center). Other possible anchors are top-left, top, top-right, right, bottom-right, bottom, bottom-left, left
, but the issue should be solved by the patch regardless of the chosen anchor
@BRS5672023 Could you please try the patch with other anchor values? I'm almost sure that this issue is a duplicate of #165
@BRS5672023 Could you please try the patch with other anchor values? I'm almost sure that this issue is a duplicate of #165
All values work as intended, but if I comment out the anchor line in tofi config, then its position is at top-left and stretched abnormally.
All values work as intended, but if I comment out the anchor line in tofi config, then its position is at top-left and stretched abnormally.
Probably there is something wrong in the patch or in some other part of the code responsible for setting the anchor, thank you! I'll try to update the patch and see what I can do
@BRS5672023 I updated the patch, does it work as expected now?
@BRS5672023 I updated the patch, does it work as expected now?
Yes, it is fixed now, thanks for your patch.
The font and border (and presumably all the elements else) stretches weirdly when I set the geometry with a taller ratio (shown by the following screenshot), and this issue happens only on niri wm but not on hyprland..
Maybe this issue is related to #165 (while seemingly I'm not having the scaling issue here).
For example, run tofi with![Screenshot from 2024-08-15 22-39-43](https://github.com/user-attachments/assets/b64c7bb0-0e6c-456f-b963-a9250db83d6c)
tofi-drun --width=600 --height=800
The remaining contents within the tofi config file are