feat: replace noctalia with an eww panel (#3)
CI / eval (push) Successful in 2m3s
CI / lint (push) Successful in 29s

This commit was merged in pull request #3.
This commit is contained in:
2026-08-19 15:13:05 +01:00
parent d61700d173
commit a0a69cf58c
16 changed files with 565 additions and 180 deletions
+27 -1
View File
@@ -1,5 +1,10 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
let
cfg = config.custom.hyprland;
horizontalDir = "${config.home.homeDirectory}/.cache/wallpapers/3840x2160";
verticalDir = "${config.home.homeDirectory}/.cache/wallpapers/2160x3840";
# Horizontal wallpapers (3840x2160) for HDMI-A-1 and DP-1
# Just add any image URL you want here
horizontal = [
@@ -107,4 +112,25 @@ let
in
{
home.file.".local/bin/wallpaper-fetch".source = fetchScript;
# `any` covers every output not named in custom.hyprland.verticalOutputs,
# which get the portrait set instead.
services.wpaperd = {
enable = true;
settings =
{
default = {
duration = "6h";
sorting = "random";
mode = "center";
};
any.path = horizontalDir;
}
// builtins.listToAttrs (
map (output: {
name = output;
value.path = verticalDir;
}) cfg.verticalOutputs
);
};
}