🖼️ Replaced Swww with Hyprpaper, turned back on screen off after idle,
fixed wallpaper on lockscreen, fixed hyprshot dir
This commit is contained in:
34
home-manager/hyprland/hyprpaper.nix
Normal file
34
home-manager/hyprland/hyprpaper.nix
Normal file
@ -0,0 +1,34 @@
|
||||
# Wallpapers
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
hyprpaper
|
||||
];
|
||||
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings =
|
||||
let
|
||||
wallpaperDir = ../../wallpapers;
|
||||
monitor1 = "${wallpaperDir}/nixos_waves.png";
|
||||
monitor2 = "${wallpaperDir}/ekg_v2.png";
|
||||
in
|
||||
{
|
||||
ipc = "on";
|
||||
splash = false;
|
||||
splash_offset = 2.0;
|
||||
|
||||
preload = [
|
||||
monitor1
|
||||
monitor2
|
||||
];
|
||||
|
||||
wallpaper = [
|
||||
"DP-1,${monitor1}"
|
||||
"DP-3,${monitor2}"
|
||||
w
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user