Skip to content

Commit

Permalink
fix: call borders correctly on change
Browse files Browse the repository at this point in the history
  • Loading branch information
DavSanchez committed Dec 19, 2024
1 parent ac27e7a commit 95d271a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion home-manager/sierpe.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@
xdg.configFile."borders/bordersrc" = {
source = ./darwin/bordersrc;
executable = true;
onChange = "/bin/bash ${config.xdg.configFile."borders/bordersrc".target}";
onChange = ''
# Add borders to PATH
PATH=$PATH:${pkgs.jankyborders}/bin
. ${config.xdg.configFile."borders/bordersrc".target}
'';
};
xdg.configFile."sketchybar" = {
source = ./darwin/sketchybar;
Expand Down
6 changes: 5 additions & 1 deletion home-manager/solio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@
xdg.configFile."borders/bordersrc" = {
source = ./darwin/bordersrc;
executable = true;
onChange = "/bin/bash ${config.xdg.configFile."borders/bordersrc".target}";
onChange = ''
# Add borders to PATH
PATH=$PATH:${pkgs.jankyborders}/bin
. ${config.xdg.configFile."borders/bordersrc".target}
'';
};
xdg.configFile."sketchybar" = {
source = ./darwin/sketchybar;
Expand Down

0 comments on commit 95d271a

Please sign in to comment.