mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-10-10 08:41:55 +05:30
feat(hyprland): replace swaybg with hyprpaper
This commit is contained in:
21
modules/home/desktop/hyprland/hyprpaper.nix
Normal file
21
modules/home/desktop/hyprland/hyprpaper.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{pkgs, ...}: {
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
ipc = "on";
|
||||
splash = false;
|
||||
splash_offset = 2.0;
|
||||
|
||||
preload = [
|
||||
"~/Wallpapers/mountain.jpg"
|
||||
];
|
||||
|
||||
wallpaper = [
|
||||
", ~/Wallpapers/mountain.jpg"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [hyprpaper];
|
||||
}
|
Reference in New Issue
Block a user