diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-14 19:22:27 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-14 19:22:27 +0530 |
| commit | 77bc32332d99636666daa1a7bea8f7265675a5f9 (patch) | |
| tree | 0940e2e7c7337b6d1d85c9c1f5e1fb760e82b232 /modules/scripts | |
| parent | dc35b4a7a5b415680252afff92ec838e4657d3ae (diff) | |
| download | home-manager-config-77bc32332d99636666daa1a7bea8f7265675a5f9.tar.gz home-manager-config-77bc32332d99636666daa1a7bea8f7265675a5f9.zip | |
fix: fixed fzf-launcher sometimes failing
sometimes fzf-launcher didn't successfully launched the selected app, to
open something we had to do it multiple times. now it works everytime.
Diffstat (limited to 'modules/scripts')
| -rw-r--r-- | modules/scripts/default.nix | 5 | ||||
| -rw-r--r-- | modules/scripts/fzf-launcher.sh | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/modules/scripts/default.nix b/modules/scripts/default.nix index 9d29192..1b4478b 100644 --- a/modules/scripts/default.nix +++ b/modules/scripts/default.nix @@ -100,12 +100,17 @@ let deps = [ config.programs.fzf.package pkgs.util-linux + config.programs.zsh.package ]; conditions = [ { option = "programs.fzf.enable"; value = true; } + { + option = "programs.zsh.enable"; + value = true; + } ]; }; i3-keybindings = { diff --git a/modules/scripts/fzf-launcher.sh b/modules/scripts/fzf-launcher.sh index 43c1108..edc39ab 100644 --- a/modules/scripts/fzf-launcher.sh +++ b/modules/scripts/fzf-launcher.sh @@ -62,4 +62,3 @@ exec_cmd=$(printf '%s' "$chosen" | cut -d$'\t' -f2) # Launch safely eval "$exec_cmd" &>/dev/null & -disown |
