feat: hyprpaper separate config with auto wallpaper

This commit is contained in:
2025-11-02 13:10:25 +01:00
parent 9105831fbb
commit f59f0ea20a
2 changed files with 90 additions and 14 deletions

View File

@@ -12,6 +12,7 @@ in {
./swaync.nix
./waybar.nix
./wlsunset.nix
./hyprpaper.nix
];
options.home.desktop.hyprland = {
@@ -33,6 +34,7 @@ in {
config = mkIf cfg.enable {
home.desktop = {
hyprpaper.enable = true;
rofi.enable = mkDefault true;
swaync.enable = mkDefault true;
waybar = {
@@ -41,6 +43,7 @@ in {
};
wlsunset.enable = mkDefault true;
};
services.blueman-applet.enable = true;
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
@@ -274,19 +277,5 @@ in {
bind = SUPER_SHIFT, asterisk, movetoworkspace, 10
'';
};
services = {
blueman-applet.enable = true;
hyprpaper = let
img = "/home/phundrak/Pictures/Wallpapers/nord/Nordic6.jpg";
in {
enable = true;
settings = {
ipc = "on";
splash = false;
preload = img;
wallpaper = ", ${img}";
};
};
};
};
}