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

fix(home-manager): allow overriding styles for the rofi theme #123

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

aloop
Copy link
Contributor

@aloop aloop commented Apr 17, 2024

Fix for #122.

Alters programs.rofi.theme to use an attrset instead of a path directly, so that users can add overriding styles to programs.rofi.theme.

A minimal example of how to change the font used in the theme would look like the following:

{
  programs.rofi = {
    enable = true;

    catppuccin.enable = true;

    theme."*".font = "monospace 14";
}

I've tested the changes with my NixOS/home-manager configuration, and it seems to work fine.

Copy link
Member

@getchoo getchoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tysm!

@getchoo getchoo merged commit 7566389 into catppuccin:main Apr 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants