[Hyprland] Switch to hyprpaper instead of wpaperd because the latter causes up-side-down images
This commit is contained in:
@@ -48,7 +48,6 @@
|
||||
|
||||
# Disable systemd because it conflicts with UWSM
|
||||
systemd.enable = false;
|
||||
|
||||
};
|
||||
|
||||
programs.hyprlock = {
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user