fix jjui on darwin

This commit is contained in:
Noah Masur
2025-11-25 13:20:18 -07:00
parent 7cd74986df
commit 235901b3b0
2 changed files with 12 additions and 3 deletions

View File

@@ -34,6 +34,9 @@ in
home.packages = [
# Required for the fsmonitor to auto-snapshot
pkgs.watchman
# Required to be on path to work in Zellij
pkgs.jjui
];
};

View File

@@ -189,9 +189,15 @@ in
};
"bind \"Alt Shift j\"" = {
Run = {
_args = [
_args =
if pkgs.stdenv.isDarwin then
[
"env"
"PATH=${config.home.homeDirectory}/.nix-profile/bin:/usr/bin"
(lib.getExe pkgs.jjui)
];
]
else
[ (lib.getExe pkgs.jjui) ];
close_on_exit = true;
floating = true;
x = "1%";