aboutsummaryrefslogtreecommitdiff
path: root/env/.config/lf/lfrc
diff options
context:
space:
mode:
Diffstat (limited to 'env/.config/lf/lfrc')
-rwxr-xr-xenv/.config/lf/lfrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/.config/lf/lfrc b/env/.config/lf/lfrc
index bd0b0fe..d8d72f0 100755
--- a/env/.config/lf/lfrc
+++ b/env/.config/lf/lfrc
@@ -152,7 +152,7 @@ esac
}}
cmd clip-path ${{
- if [ -z $WAYLAND_DISPLAY ]; then
+ if [ -z "${WAYLAND_DISPLAY-}" ]; then
printf "$f" | xclip -selection clipboard
else
printf "$f" | wl-copy