Skip to content

Commit

Permalink
HM: add section detailing how to fix problems with themes not working (
Browse files Browse the repository at this point in the history
…#371)

Co-authored-by: Mihai Fufezan <[email protected]>
  • Loading branch information
Schweber and fufexan authored Oct 17, 2023
1 parent 5af6aa7 commit 164dd2c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pages/Nix/Hyprland on Home Manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,43 @@ wayland.windowManager.hyprland.plugins = [

For examples on how to build hyprland plugins using nix see the
[official plugins](https://github.com/hyprwm/hyprland-plugins).

## Fixing problems with themes

If your themes for mouse cursor, icons or windows don't load correctly, try setting them with `home.pointerCursor` and `gtk.theme`, which enable a bunch of compatibility options that should make the themes load in all situations.

Example configuration:
```
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.username = {
home = {
stateVersion = "23.05";
pointerCursor = {
gtk.enable = true;
# x11.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Amber";
size = 32;
};
};
gtk = {
enable = true;
theme = {
package = pkgs.flat-remix-gtk;
name = "Flat-Remix-GTK-Grey-Darkest";
};
iconTheme = {
package = pkgs.libsForQt5.breeze-icons;
name = "breeze-dark";
};
font = {
name = "Sans";
size = 11;
};
};
};
};
```
4 changes: 4 additions & 0 deletions pages/Nix/Hyprland on NixOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,7 @@ in {

{{< /tab >}}
{{< /tabs >}}

## Fixing problems with themes

If your themes for mouse cursor, icons or windows don't load correctly, see the relevant section in [Hyprland on Home Manager](./Hyprland-on-Home-Manager).

0 comments on commit 164dd2c

Please sign in to comment.