Skip to content

Commit 8518525

Browse files
EveeifyevetrueNAHO
authored andcommitted
jankyborders: init (#838)
Link: #838 Reviewed-by: awwpotato <[email protected]> Reviewed-by: Lalit Yalamanchili <[email protected]> Co-authored-by: NAHO <[email protected]> Reviewed-by: NAHO <[email protected]> (cherry picked from commit ef025b8)
1 parent e6fc25c commit 8518525

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

generated/all-maintainers.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
githubId = 54070204;
1414
name = "0x5a4";
1515
};
16+
Eveeifyeve = {
17+
email = "[email protected]";
18+
github = "Eveeifyeve";
19+
githubId = 88671402;
20+
matrix = "@eveeifyeve:matrix.org";
21+
name = "Eveeifyeve";
22+
};
1623
Flameopathic = {
1724
email = "[email protected]";
1825
github = "Flameopathic";

modules/jankyborders/darwin.nix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
mkTarget,
3+
config,
4+
lib,
5+
...
6+
}:
7+
mkTarget {
8+
name = "jankyborders";
9+
humanName = "JankyBorders";
10+
11+
configElements =
12+
{ colors, opacity }:
13+
{
14+
services.jankyborders =
15+
let
16+
mkOpacityHexColor = lib.flip config.lib.stylix.mkOpacityHexColor opacity.desktop;
17+
in
18+
{
19+
active_color = mkOpacityHexColor colors.base0D;
20+
inactive_color = mkOpacityHexColor colors.base03;
21+
};
22+
};
23+
}

modules/jankyborders/meta.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{ lib, ... }:
2+
{
3+
maintainers = [ lib.maintainers.eveeifyeve ];
4+
homepage = "https://github.com/FelixKratz/JankyBorders";
5+
name = "JankyBorders";
6+
}

0 commit comments

Comments
 (0)