Trying to run zide from a Hyprland keybind.
I’ve added the following to Home Manager (home.nix):
home.file = {
".config/zide".source = pkgs.fetchFromGitHub {
owner = "josephschmitt";
repo = "zide";
rev = "a0903f9a503f2261e768aa7c23628921c027a88e";
hash = "sha256-Ten0Jme1wVDsUhRY/ggPY1fKwYRw0FiQWSQqVij3nHI=";
};
};
programs.bash = {
bashrcExtra = ''
export PATH="$PATH:$HOME/.config/zide/bin"
'';
};
Now I’m able to run it from terminal with:
alacritty -e zide ~/.config/nixos default_lazygit
But when I try adding a keybind to my hyprland config, nothing works. I’ve tried:
"$mainMod, T, exec, alacritty -e zide ~/.config/nixos default_lazygit"
"$mainMod, T, exec, alacritty -e zide '~/.config/nixos default_lazygit'"
"$mainMod, T, exec, alacritty -e \"zide ~/.config/nixos default_lazygit\""
Any suggestions as to what I’m doing wrong?