diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-29 16:39:25 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-29 16:39:25 +0100 |
commit | aae9f379e28438a90031c8add13bae6263b19ae9 (patch) | |
tree | 23bc821b09aa88f84f6d3deedc5f0f985b493351 /modules | |
parent | fix(modules/lf): Retry connecting to the server (diff) | |
download | nixos-config-aae9f379e28438a90031c8add13bae6263b19ae9.tar.gz nixos-config-aae9f379e28438a90031c8add13bae6263b19ae9.zip |
fix(modules/lf/cmds/set_clipboard_path): Provide feedback to the user
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/by-name/lf/lf/commands/scripts/set_clipboard_path.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/by-name/lf/lf/commands/scripts/set_clipboard_path.sh b/modules/by-name/lf/lf/commands/scripts/set_clipboard_path.sh index 460eeedb..ff5f3c01 100755 --- a/modules/by-name/lf/lf/commands/scripts/set_clipboard_path.sh +++ b/modules/by-name/lf/lf/commands/scripts/set_clipboard_path.sh @@ -18,6 +18,9 @@ elif [ -n "$f" ]; then echo "$f" | wl-copy --trim-newline else lf -remote "send $id echo 'No file selected.'" + exit 1 fi +lf -remote "send $id echo 'Path copied'" + # vim: ft=sh |