Add wallpaper of a monkey to all hyprland screens
This commit is contained in:
BIN
backgrounds/monkey.jpg
Normal file
BIN
backgrounds/monkey.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
1
home.nix
1
home.nix
@@ -13,6 +13,7 @@
|
||||
./programs/direnv.nix
|
||||
./programs/firefox.nix
|
||||
./wm/hyprland.nix
|
||||
./wm/hyprpaper.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
17
wm/hyprpaper.nix
Normal file
17
wm/hyprpaper.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
wallpaper = builtins.toString ../backgrounds/monkey.jpg;
|
||||
in
|
||||
{
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
preload = [ wallpaper ];
|
||||
wallpaper = [
|
||||
",${wallpaper}"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user