Hyprpaper: Difference between revisions
Appearance
Red40system (talk | contribs) m Realized the citation didn't actually link to the page itself... I meant it to. Oops. |
m Updated to match the current services.hyprpaper syntax in NixOS 26.05 stable. The previous format is kept as legacy for reference. Tags: Mobile edit Mobile web edit Visual edit |
||
| Line 13: | Line 13: | ||
wallpaper = [ | wallpaper = [ | ||
# By display | # By display | ||
#"DP-2 | # { | ||
# monitor = "DP-2"; | |||
# path = "~/wallpapers/wallpaper2.jpg"; | |||
# } | |||
# By default/fallback | # By default/fallback | ||
" | { | ||
monitor = ""; | |||
path = "~/wallpapers/wallpaper.jpg"; | |||
} | |||
]; | ]; | ||
}; | }; | ||
};|name=/etc/nixos/home.nix|lang=nix}} | };|name=/etc/nixos/home.nix|lang=nix}} | ||
== Home Manager Configuration ( | == Home Manager Configuration (NixOS Legacy) == | ||
The following is an example of the | The following is an example of the old <code>services.hyprpaper</code> syntax used before the changes introduced in later nixos 26.05 version.{{File|3=services.hyprpaper = { | ||
enable = true; | enable = true; | ||
settings = { | settings = { | ||
| Line 30: | Line 36: | ||
wallpaper = [ | wallpaper = [ | ||
# By display | # By display | ||
# | #"DP-2,~/wallpapers/wallpaper2.jpg" | ||
# By default/fallback | # By default/fallback | ||
",~/wallpapers/wallpaper.jpg" | |||
]; | ]; | ||
}; | }; | ||
Latest revision as of 22:36, 3 June 2026
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 (NixOS Stable)
❄︎ /etc/nixos/home.nix
services.hyprpaper = {
enable = true;
settings = {
preload = [
"~/wallpapers/wallpaper2.jpg"
"~/wallpapers/wallpaper.jpg"
];
wallpaper = [
# By display
# {
# monitor = "DP-2";
# path = "~/wallpapers/wallpaper2.jpg";
# }
# By default/fallback
{
monitor = "";
path = "~/wallpapers/wallpaper.jpg";
}
];
};
};
Home Manager Configuration (NixOS Legacy)
The following is an example of the old services.hyprpaper syntax used before the changes introduced in later nixos 26.05 version.
❄︎ /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"
];
};
};