1
0
Fork 0
dotfiles/system/darwin/jankyborders.nix

33 lines
654 B
Nix
Raw Normal View History

2024-06-01 22:02:36 +00:00
{ pkgs, config, ... }:
2024-06-01 22:02:02 +00:00
2024-06-01 22:02:36 +00:00
let
pkg = pkgs.jankyborders;
borders-config = [
"style=round"
2024-06-03 18:24:20 +00:00
"active_color=0xffbd93f9"
"inactive_color=0xffabb2bf"
2024-06-02 10:52:01 +00:00
"width=7.0"
2024-06-01 22:02:36 +00:00
"hidpi=on"
"ax_focus=on"
2024-06-04 18:43:44 +00:00
"blacklist='Dropover,LaunchBar'"
2024-06-01 22:02:36 +00:00
];
in
2024-06-01 22:02:02 +00:00
{
2024-06-01 22:02:36 +00:00
environment.systemPackages = [ pkg ];
launchd.user.agents.jankyborders = {
serviceConfig = {
ProgramArguments = [ "${pkg}/bin/borders" ] ++ borders-config;
KeepAlive = true;
RunAtLoad = true;
ProcessType = "Interactive";
EnvironmentVariables = {
PATH = "${pkg}/bin:${config.environment.systemPath}";
LANG = "en_US.UTF-8";
};
};
};
2024-06-01 22:02:02 +00:00
}