auto rotate wallpapers
This commit is contained in:
@@ -5,20 +5,6 @@
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
wallpaper1 = pkgs.fetchurl {
|
||||
url = "https://images.hdqwalls.com/download/black-red-square-rectangle-rq-3840x2160.jpg";
|
||||
hash = "sha256-ZWJKHHye6Ukjd+v4bwmidJim4z+6woM8e7n3bExf6kc=";
|
||||
};
|
||||
wallpaper2 = pkgs.fetchurl {
|
||||
url = "https://images.hdqwalls.com/download/metals-shapes-abstract-8k-8c-3840x2160.jpg";
|
||||
hash = "sha256-EYG89NfMjylnNXNFtmEYYjEFq/j22ORvnw/OTcY0BVs=";
|
||||
};
|
||||
wallpaper-vertical = pkgs.fetchurl {
|
||||
url = "https://images.hdqwalls.com/download/horizon-zero-dawn-abstract-m2-2160x3840.jpg";
|
||||
hash = "sha256-zwMnHigZhqeDSrtpyxC0hpn8p9Z7bI8tXx/uNxhSa60=";
|
||||
};
|
||||
in
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
@@ -37,15 +23,4 @@ in
|
||||
"6, monitor:DP-1" # top-left
|
||||
];
|
||||
};
|
||||
|
||||
services.hyprpaper.settings.preload = [
|
||||
(builtins.toString wallpaper1)
|
||||
(builtins.toString wallpaper2)
|
||||
(builtins.toString wallpaper-vertical)
|
||||
];
|
||||
services.hyprpaper.settings.wallpaper = [
|
||||
"HDMI-A-1,${builtins.toString wallpaper1}"
|
||||
"DP-1,${builtins.toString wallpaper2}"
|
||||
"DP-2,${builtins.toString wallpaper-vertical}"
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user