aboutsummaryrefslogtreecommitdiff
path: root/.config/lf
diff options
context:
space:
mode:
Diffstat (limited to '.config/lf')
-rwxr-xr-x.config/lf/lfrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 5573e90..dcced87 100755
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -149,7 +149,11 @@ esac
}}
cmd clip-path ${{
- printf "$f" | xclip -selection clipboard
+ if [ -z $WAYLAND_DISPLAY ]; then
+ printf "$f" | xclip -selection clipboard
+ else
+ printf "$f" | wl-copy
+ fi
}}
cmd filebrowser ${{