From 3f71d154867b457adbef04b4982e78b5dc225e62 Mon Sep 17 00:00:00 2001 From: Devin Droddy <90054389+justDeeevin@users.noreply.github.com> Date: Wed, 2 Jul 2025 13:43:55 -0400 Subject: [PATCH] ashell: init `(#1552) Link: https://github.com/nix-community/stylix/pull/1552 Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com> Reviewed-by: awwpotato Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> --- flake.lock | 6 +++--- modules/ashell/hm.nix | 35 +++++++++++++++++++++++++++++++++++ modules/ashell/meta.nix | 6 ++++++ 3 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 modules/ashell/hm.nix create mode 100644 modules/ashell/meta.nix diff --git a/flake.lock b/flake.lock index a1ea4182..da2edfa1 100644 --- a/flake.lock +++ b/flake.lock @@ -203,11 +203,11 @@ ] }, "locked": { - "lastModified": 1748737919, - "narHash": "sha256-5kvBbLYdp+n7Ftanjcs6Nv+UO6sBhelp6MIGJ9nWmjQ=", + "lastModified": 1751146119, + "narHash": "sha256-gvjG95TCnUVJkvQvLMlnC4NqiqFyBdJk3o8/RwuHeaU=", "owner": "nix-community", "repo": "home-manager", - "rev": "5675a9686851d9626560052a032c4e14e533c1fa", + "rev": "76d0c31fce2aa0c71409de953e2f9113acd5b656", "type": "github" }, "original": { diff --git a/modules/ashell/hm.nix b/modules/ashell/hm.nix new file mode 100644 index 00000000..726743e7 --- /dev/null +++ b/modules/ashell/hm.nix @@ -0,0 +1,35 @@ +{ mkTarget, ... }: +mkTarget { + name = "ashell"; + humanName = "Ashell"; + + configElements = [ + ( + { colors }: + { + programs.ashell.settings.appearance = with colors.withHashtag; { + background_color = base00; + primary_color = base0D; + secondary_color = base01; + success_color = base0B; + danger_color = base09; + text_color = base05; + + workspace_colors = [ + base09 + base0D + ]; + }; + } + ) + ( + { opacity }: + { + programs.ashell.settings.appearance = { + inherit opacity; + menu.opacity = opacity; + }; + } + ) + ]; +} diff --git a/modules/ashell/meta.nix b/modules/ashell/meta.nix new file mode 100644 index 00000000..f19945ef --- /dev/null +++ b/modules/ashell/meta.nix @@ -0,0 +1,6 @@ +{ lib, ... }: +{ + name = "Ashell"; + homepage = "https://github.com/MalpenZibo/ashell"; + maintainers = [ lib.maintainers.justdeeevin ]; +}