Add basic ags theming
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ user ? throw "user argument is required" }: { config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
hmConfig = config.home-manager.users."${user.name}";
|
||||
agsConfig = (import ./src { inherit pkgs; });
|
||||
in
|
||||
{
|
||||
@@ -11,5 +12,21 @@ in
|
||||
source = "${agsConfig}/share/config.js";
|
||||
target = "ags/config.js";
|
||||
};
|
||||
|
||||
programs.matugen.settings.templates.ags = {
|
||||
input_path = ./theme.sass;
|
||||
output_path = "${hmConfig.xdg.configHome}/ags/theme.sass";
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.initExtraConfig = "${lib.meta.getExe (pkgs.writeShellApplication {
|
||||
name = "init-ags";
|
||||
runtimeInputs = with pkgs; [
|
||||
ags
|
||||
sassc
|
||||
];
|
||||
text = ''
|
||||
ags &> /tmp/ags.log
|
||||
'';
|
||||
})} &";
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user