diff options
author | EuAndreh <eu@euandre.org> | 2022-10-25 19:53:54 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-10-25 19:53:54 -0300 |
commit | dc5bceaa66aa8d8a99f7263dad60e78d2eef643a (patch) | |
tree | eab0db5cec0c98413960fadcd0b4b2af0bcb3fd6 /bin/menu | |
parent | etc/guix/home.scm: Add "dig", "stunnel" and "nc" network utilities (diff) | |
download | dotfiles-dc5bceaa66aa8d8a99f7263dad60e78d2eef643a.tar.gz dotfiles-dc5bceaa66aa8d8a99f7263dad60e78d2eef643a.tar.xz |
bin/menu: Use exec over spawning new processes for "bin" action
Diffstat (limited to 'bin/menu')
-rwxr-xr-x | bin/menu | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -116,7 +116,10 @@ case "$ACTION" in fi ;; bin) - bins | show 'bins' | sh + CHOICE="$(bins | show 'bins')" + if [ -n "$CHOICE" ]; then + exec "$CHOICE" + fi ;; clipboard) greenclip print | show 'clipboard' | copy |