home: init hyprpaper

This commit is contained in:
notohh 2024-04-17 15:13:58 -04:00
parent 5874d9e9f1
commit 122a01eb91
Signed by: notohh
GPG key ID: BD47506D475EE86D
4 changed files with 18 additions and 4 deletions

View file

@ -9,6 +9,7 @@
inputs.ags.homeManagerModules.default
inputs.hypridle.homeManagerModules.default
inputs.hyprlock.homeManagerModules.default
inputs.hyprpaper.homeManagerModules.default
inputs.nix-index-database.hmModules.nix-index
../../services
../../programs/ags
@ -24,6 +25,7 @@
../../programs/media/zathura.nix
../../wayland/hyprland
../../wayland/services/hypridle.nix
../../wayland/services/hyprpaper.nix
../../wayland/programs/hyprlock.nix
];
@ -42,6 +44,7 @@
jellyfin-mpv-shim
virt-manager
qbittorrent
hyprpicker
imv
mpv
ffmpeg

View file

@ -25,9 +25,6 @@ in {
satty
wl-clipboard
wlr-randr
hyprpicker
hyprcursor
swww
];
sessionVariables = {
GBM_BACKEND = "nvidia-drm";

View file

@ -9,7 +9,7 @@
];
exec-once = [
"ags"
"swww init && swww img ~/Pictures/wallpapers/frieren.png"
"hyprpaper"
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
"~/.local/bin/lock"

View file

@ -0,0 +1,14 @@
_: {
services.hyprpaper = {
enable = true;
ipc = true;
splash = false;
preloads = ["~/Pictures/wallpapers/frieren.png"];
wallpapers = [
"HDMI-A-1,~/Pictures/wallpapers/frieren.png"
"DP-1,~/Pictures/wallpapers/frieren.png"
"DP-2,~/Pictures/wallpapers/frieren.png"
"DP-3,~/Pictures/wallpapers/frieren.png"
];
};
}