OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
 
main @ 30 LINES
 
[ HISTORY ]  [ UP ]
 

{
  lib,
  ook,
  config,
  ...
}: let
  inherit (ook) color;
  inherit (lib) mkIf;
  inherit (config.ooknet.workstation) environment;
in {
  config = mkIf (environment == "aerospace") {
    # jankyborders is a service that adds borders to frames on macos
    services.jankyborders = {
      enable = true;
      active_color = "0xff${color.border.active}";
      inactive_color = "0xff${color.border.inactive}";
      width = 5.0;
      # what layer the border will sit on, available options:
      # above, below
      # warning, this will break things.
      order = "above";
      # we whitelist applications as certain apps do not play well with borders, n
amely AppStore
      whitelist = [
        "ghostty"
        "zen"
      ];
    };
  };
}

{
  lib,
  ook,
  config,
  ...
}: let
  inherit (ook) color;
  inherit (lib) mkIf;
  inherit (config.ooknet.workstation) enviro
nment;
in {
  config = mkIf (environment == "aerospace")
 {
    # jankyborders is a service that adds bo
rders to frames on macos
    services.jankyborders = {
      enable = true;
      active_color = "0xff${color.border.act
ive}";
      inactive_color = "0xff${color.border.i
nactive}";
      width = 5.0;
      # what layer the border will sit on, a
vailable options:
      # above, below
      # warning, this will break things.
      order = "above";
      # we whitelist applications as certain
 apps do not play well with borders, namely 
AppStore
      whitelist = [
        "ghostty"
        "zen"
      ];
    };
  };
}
 
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET