33 lines
650 B
Nix
33 lines
650 B
Nix
{
|
|
lib,
|
|
config,
|
|
home-dir,
|
|
...
|
|
}:
|
|
|
|
let
|
|
cfg = config.custom.gui.jankyborders;
|
|
in
|
|
{
|
|
options.custom.gui = with lib; {
|
|
jankyborders = {
|
|
enable = mkEnableOption "Enable jankyborders";
|
|
logFile = mkOption {
|
|
type = types.str;
|
|
default = "${home-dir}/Library/Logs/jankyborders.log";
|
|
description = "Filepath of log output";
|
|
};
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.jankyborders = {
|
|
enable = true;
|
|
# active_color = "0xFFA1EFE4";
|
|
# inactive_color = "0xFFd3b58d";
|
|
active_color = "0xFFFFFFFF";
|
|
inactive_color = "0xFF000000";
|
|
width = 5.0;
|
|
};
|
|
};
|
|
}
|