2023-08-14 13:49:55 +02:00
|
|
|
{ config, ... }:
|
2023-02-08 04:31:15 +01:00
|
|
|
let
|
2023-03-12 05:24:25 +01:00
|
|
|
base16-eww = config.lib.stylix.colors {
|
2023-02-08 04:31:15 +01:00
|
|
|
template = builtins.readFile ./template.yuck;
|
|
|
|
};
|
|
|
|
|
2023-05-28 05:24:36 +02:00
|
|
|
widgets = config.satellite.dev.path "home/features/desktop/eww/widgets";
|
2023-02-08 04:31:15 +01:00
|
|
|
in
|
|
|
|
{
|
2023-08-14 13:49:55 +02:00
|
|
|
programs.eww-hyprland = {
|
|
|
|
enable = true;
|
|
|
|
autoReload = true;
|
|
|
|
extraConfig = ''
|
|
|
|
; Color scheme
|
|
|
|
(include "${base16-eww}")
|
2023-02-08 04:31:15 +01:00
|
|
|
|
2023-08-14 13:49:55 +02:00
|
|
|
; My widgets
|
|
|
|
(include "${widgets}/bar.yuck")
|
|
|
|
'';
|
|
|
|
};
|
2023-02-05 04:01:18 +01:00
|
|
|
}
|