[Hyprland] Switch to hyprpaper instead of wpaperd because the latter causes up-side-down images
This commit is contained in:
25
home-manager/features/wpaperd.nix
Normal file
25
home-manager/features/wpaperd.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
monitors: _: {
|
||||
# NOTE: Wpaperd displays wallpaper upside-down on 90´ ccw rotated
|
||||
# monitors as of 26.05
|
||||
services.wpaperd = {
|
||||
enable = true;
|
||||
settings =
|
||||
builtins.listToAttrs (
|
||||
map (mon: {
|
||||
name = mon;
|
||||
value = {
|
||||
# Each monitor gets a folder under wallpaper that
|
||||
# containes the current images.
|
||||
path = "~/Pictures/Wallpaper/${mon}";
|
||||
};
|
||||
}) monitors
|
||||
)
|
||||
// {
|
||||
default = {
|
||||
duration = "1h";
|
||||
mode = "center";
|
||||
sorting = "random";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user