Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

programs.rofi.font is not set correctly #59

Closed
qaristote opened this issue Mar 9, 2023 · 1 comment
Closed

programs.rofi.font is not set correctly #59

qaristote opened this issue Mar 9, 2023 · 1 comment
Labels
bug Something isn't working properly

Comments

@qaristote
Copy link
Contributor

I'm using Stylix and enabled Rofi inside Home Manager but it doesn't pick up the right font. Looking at the source, this seems to be because Stylix sets

programs.rofi = {
font = monospace.name;

Whereas this option actually expects the name of the font followed by the font size.
A possible fix would thus be to set

programs.font.rofi = "${monospace.name} 12"

but the font size should probably depend on some option.

@dwarfmaster
Copy link
Contributor

Related issue #35
As I said there, we need a way to handle font sizes. I haven't really had the time to think about it yet.

@dwarfmaster dwarfmaster added the bug Something isn't working properly label Mar 9, 2023
danth added a commit that referenced this issue Mar 19, 2023
Fixes #35 and #59

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
@danth danth closed this as completed Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working properly
Projects
None yet
Development

No branches or pull requests

3 participants