[Hyprland] Switch to hyprpaper instead of wpaperd because the latter causes up-side-down images
This commit is contained in:
15
home-manager/features/hyprpaper.nix
Normal file
15
home-manager/features/hyprpaper.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
monitors: _: {
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
wallpaper = map (mon: {
|
||||
monitor = mon;
|
||||
# Each monitor gets a folder under wallpaper that containes the current images.
|
||||
path = "~/Pictures/Wallpaper/${mon}";
|
||||
timeout = 3600;
|
||||
recursive = true;
|
||||
fit_mode = "cover";
|
||||
}) monitors;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user