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:
Eveeifyeve 2025-09-23 17:21:50 +10:00 committed by GitHub
parent 0ce0103b49
commit ef025b8de3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 36 additions and 0 deletions

View file

@ -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";

View 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;
};
};
}

View file

@ -0,0 +1,6 @@
{ lib, ... }:
{
maintainers = [ lib.maintainers.eveeifyeve ];
homepage = "https://github.com/FelixKratz/JankyBorders";
name = "JankyBorders";
}