Jump to content

Hyprpaper: Difference between revisions

From Official NixOS Wiki
Phobos (talk | contribs)
Klinger (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[https://github.com/hyprwm/hyprpaper Hyprpaper] is a simple wallpaper utility for [[Hyprland]]. It may be configured through Home Manager declarative options, option may be found at [https://nix-community.github.io/home-manager/options.xhtml#opt-services.hyprpaper.enable Home Manager - services-hyprpaper].
[https://github.com/hyprwm/hyprpaper Hyprpaper] is a simple wallpaper utility for [[Hyprland]]. It may be configured through Home Manager declarative options. Option may be found at [https://nix-community.github.io/home-manager/options.xhtml#opt-services.hyprpaper.enable Home Manager - services-hyprpaper].


Options for Hyprpaper settings may be found on the [https://wiki.hypr.land/Hypr-Ecosystem/hyprpaper/ Hyprland Wiki on their Hyprpaper page]. Entries with the same key should be written as lists. Variables’ and colors’ names should be quoted.
Examples for Hyprpaper settings may be found on the [https://wiki.hypr.land/Hypr-Ecosystem/hyprpaper/ Hyprland Wiki on their Hyprpaper page]. Entries with the same key should be written as lists, variables’ and colors’ names should be quoted.


== Home Manager Configuration ==
== Home Manager Configuration ==
Line 19: Line 19:
   };
   };
};|name=/etc/nixos/home.nix|lang=nix}}
};|name=/etc/nixos/home.nix|lang=nix}}
[[Category:Hyprland]]

Latest revision as of 12:28, 28 December 2025

Hyprpaper is a simple wallpaper utility for Hyprland. It may be configured through Home Manager declarative options. Option may be found at Home Manager - services-hyprpaper.

Examples for Hyprpaper settings may be found on the Hyprland Wiki on their Hyprpaper page. Entries with the same key should be written as lists, variables’ and colors’ names should be quoted.

Home Manager Configuration

❄︎ /etc/nixos/home.nix
services.hyprpaper = {
  enable = true;
  settings = {
    preload = [
      "~/wallpapers/wallpaper2.jpg"
      "~/wallpapers/wallpaper.jpg"
    ];
    wallpaper = [
      # By display
      #"DP-2,~/wallpapers/wallpaper2.jpg"
      # By default/fallback
      ",~/wallpapers/wallpaper.jpg"
    ];
  };
};