jankyborders: init (#838)
Link: https://github.com/nix-community/stylix/pull/838 Reviewed-by: awwpotato <awwpotato@voidq.com> Reviewed-by: Lalit Yalamanchili <79628080+Lalit64@users.noreply.github.com> Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
0ce0103b49
commit
ef025b8de3
3 changed files with 36 additions and 0 deletions
|
|
@ -13,6 +13,13 @@
|
|||
githubId = 54070204;
|
||||
name = "0x5a4";
|
||||
};
|
||||
Eveeifyeve = {
|
||||
email = "eveeg1971@gmail.com";
|
||||
github = "Eveeifyeve";
|
||||
githubId = 88671402;
|
||||
matrix = "@eveeifyeve:matrix.org";
|
||||
name = "Eveeifyeve";
|
||||
};
|
||||
Flameopathic = {
|
||||
email = "flameopathic@gmail.com";
|
||||
github = "Flameopathic";
|
||||
|
|
|
|||
23
modules/jankyborders/darwin.nix
Normal file
23
modules/jankyborders/darwin.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
mkTarget,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
mkTarget {
|
||||
name = "jankyborders";
|
||||
humanName = "JankyBorders";
|
||||
|
||||
configElements =
|
||||
{ colors, opacity }:
|
||||
{
|
||||
services.jankyborders =
|
||||
let
|
||||
mkOpacityHexColor = lib.flip config.lib.stylix.mkOpacityHexColor opacity.desktop;
|
||||
in
|
||||
{
|
||||
active_color = mkOpacityHexColor colors.base0D;
|
||||
inactive_color = mkOpacityHexColor colors.base03;
|
||||
};
|
||||
};
|
||||
}
|
||||
6
modules/jankyborders/meta.nix
Normal file
6
modules/jankyborders/meta.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
maintainers = [ lib.maintainers.eveeifyeve ];
|
||||
homepage = "https://github.com/FelixKratz/JankyBorders";
|
||||
name = "JankyBorders";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue