Hyprpaper: Difference between revisions
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" | |||
]; | ]; | ||
}; | }; | ||