[Hyprland] Switch to hyprpaper instead of wpaperd because the latter causes up-side-down images

This commit is contained in:
2026-06-01 10:12:55 -07:00
parent fc1698a5d9
commit e078067a5e
5 changed files with 22 additions and 12 deletions

View File

@@ -48,7 +48,6 @@
# Disable systemd because it conflicts with UWSM
systemd.enable = false;
};
programs.hyprlock = {

View 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;
};
};
}

View File

@@ -1,11 +1,6 @@
monitors:
{ ... }:
{
# TODO: Merge into hyprland
# wayland.windowManager.hyprland.settings.exec-once = [
# "wpaperd"
# ];
monitors: _: {
# NOTE: Wpaperd displays wallpaper upside-down on 90´ ccw rotated
# monitors as of 26.05
services.wpaperd = {
enable = true;
settings =
@@ -13,7 +8,8 @@ monitors:
map (mon: {
name = mon;
value = {
# Each monitor gets a folder under wallpaper that containes the current images.
# Each monitor gets a folder under wallpaper that
# containes the current images.
path = "~/Pictures/Wallpaper/${mon}";
};
}) monitors

View File

@@ -26,7 +26,7 @@ in
"/features/3d-printing.nix"
]
++ [
(import ../../../home-manager/features/wallpaper.nix monitors)
(import ../../../home-manager/features/hyprpaper.nix monitors)
];
home = {

View File

@@ -15,7 +15,7 @@
"/features/notes.nix"
]
++ [
(import ../../../home-manager/features/wallpaper.nix [ "HDMI-A-1" ])
(import ../../../home-manager/features/hyprpaper.nix [ "HDMI-A-1" ])
];
home.packages = with pkgs; [