2023-02-08 04:31:15 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
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
|
|
|
|
{
|
|
|
|
home.packages = [ pkgs.eww ];
|
|
|
|
xdg.configFile."eww/eww.yuck".text = ''
|
|
|
|
# Color scheme
|
2023-03-12 05:24:25 +01:00
|
|
|
(include ${base16-eww})
|
2023-02-08 04:31:15 +01:00
|
|
|
|
|
|
|
# My widgets
|
|
|
|
(include ${widgets}/dashboard)
|
|
|
|
'';
|
2023-02-05 04:01:18 +01:00
|
|
|
}
|