mirror of
https://github.com/Andrey0189/nixos-config-reborn.git
synced 2025-09-15 10:06:00 +03:00
declarative hyprpaper
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
{
|
||||
imports = [
|
||||
./binds.nix
|
||||
./hyprlock.nix
|
||||
./hypridle.nix
|
||||
./hyprlock.nix
|
||||
./hyprpaper.nix
|
||||
./main.nix
|
||||
];
|
||||
}
|
||||
|
16
home-manager/modules/hyprland/hyprpaper.nix
Normal file
16
home-manager/modules/hyprland/hyprpaper.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
home.file.".config/wallpaper.png" = {
|
||||
source = builtins.fetchurl {
|
||||
url = "https://codeberg.org/lunik1/nixos-logo-gruvbox-wallpaper/raw/branch/master/png/gruvbox-dark-rainbow.png";
|
||||
sha256 = "036gqhbf6s5ddgvfbgn6iqbzgizssyf7820m5815b2gd748jw8zc";
|
||||
};
|
||||
};
|
||||
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
preload = [ "~/.config/wallpaper.png" ];
|
||||
wallpaper = [ ",~/.config/wallpaper.png" ];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user