merging this branch so I can start a clean one, gitbutler caused a lot of pain due to it failing to build

This commit is contained in:
Christoph Hollizeck 2024-11-08 01:14:39 +01:00
commit 2bd027e333
Signed by: Daholli
GPG key ID: 1763BB530F50279E
26 changed files with 1427 additions and 288 deletions

View file

@ -1,20 +1,16 @@
{
config,
inputs,
lib,
namespace,
pkgs,
system,
...
}:
let
inherit (lib) mkIf mkEnableOption;
# hyprpaper-package = inputs.hyprpaper.packages.${system}.hyprpaper;
cfg = config.${namespace}.desktop.addons.hyprpaper;
username = config.${namespace}.user.name;
picture-path = "/home/${username}/Pictures/firewatch.jpg";
in
{
options.${namespace}.desktop.addons.hyprpaper = {
@ -28,13 +24,15 @@ in
"Pictures/firewatch.jpg".source = ./firewatch.jpg;
};
wayland.windowManager.hyprland.settings.exec-once = [
''hyprctl hyprpaper wallpaper "DP-2,${picture-path}"''
];
services.hyprpaper = {
enable = true;
settings = {
preload = [
"/home/${username}/Pictures/firewatch.jpg"
];
wallpaper = "monitor DP-2, /home/${username}/Pictures/firewatch.jpg";
preload = [ picture-path ];
wallpaper = "DP-2,${picture-path}";
};
};
};