danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.16k stars 143 forks source link

bug: rofi theme not generated for rofi-wayland #581

Closed chakibchemso closed 2 weeks ago

chakibchemso commented 3 weeks ago

i have rofi-wayland installed instead of rofi cz im on hyprland. but the theme is not being generated even by forcing stylix.targets.rofi.enable = true;

trueNAHO commented 2 weeks ago

i have rofi-wayland installed instead of rofi cz im on hyprland.

We are setting the theme with Home Manager's programs.rofi.theme option:

https://github.com/danth/stylix/blob/39e5435c1da9ce50fe36deaf58bd2b94dd4d8249/modules/rofi/hm.nix#L24-L26

Is this maybe a Home Manager limitation?

the theme is not being generated even by forcing stylix.targets.rofi.enable = true;

This is the default value when setting stylix.enable = true;.

chakibchemso commented 2 weeks ago

maybe cz rofi is installed thru environment.systemPackages ?

trueNAHO commented 2 weeks ago

maybe cz rofi is installed thru environment.systemPackages ?

Possible. Try setting it with rofi.package.

chakibchemso commented 2 weeks ago

yeah that did the trick:

  programs.rofi = {
    enable = true;
    package = pkgs.rofi-wayland;
  };

but honestly i dont like the theme, it changed the layout and spacing of the elements, like there's no padding at all? im sticking to the base16-catppuccin-mocha.rasi theme instead for now.