Install jankyborders

This commit is contained in:
Tobias Ostner 2026-07-10 10:46:41 +02:00
parent 914d759a93
commit 204bd26878
2 changed files with 28 additions and 0 deletions

11
config/borders/bordersrc Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
options=(
style=round
width=10.0
hidpi=on
active_color=0xff89b4fa
inactive_color=0xff45475a
)
exec borders "${options[@]}"

View file

@ -43,6 +43,7 @@ in
iosevka-comfy.comfy iosevka-comfy.comfy
iosevka-comfy.comfy-motion-duo iosevka-comfy.comfy-motion-duo
jetbrains-mono jetbrains-mono
jankyborders
jq jq
kubectl kubectl
ledger ledger
@ -167,7 +168,23 @@ in
}; };
}; };
launchd.agents.jankyborders = {
enable = true;
config = {
ProgramArguments = [
"${pkgs.bash}/bin/bash"
"${config.xdg.configHome}/borders/bordersrc"
];
EnvironmentVariables.PATH = "${pkgs.jankyborders}/bin:/usr/bin:/bin";
KeepAlive = true;
RunAtLoad = true;
StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/jankyborders.log";
StandardOutPath = "${config.home.homeDirectory}/Library/Logs/jankyborders.log";
};
};
xdg.configFile."aerospace/aerospace.toml".text = builtins.readFile ../config/aerospace/aerospace.toml; xdg.configFile."aerospace/aerospace.toml".text = builtins.readFile ../config/aerospace/aerospace.toml;
xdg.configFile."borders/bordersrc".source = ../config/borders/bordersrc;
xdg.configFile.".bunfig.toml".text = builtins.readFile ../config/bun/bunfig.toml; xdg.configFile.".bunfig.toml".text = builtins.readFile ../config/bun/bunfig.toml;
xdg.configFile."ghostty/config".text = builtins.readFile ../config/ghostty/config; xdg.configFile."ghostty/config".text = builtins.readFile ../config/ghostty/config;
} }