fix wl-copy issue

This commit is contained in:
Yan Lin 2025-10-20 23:07:03 +02:00
parent d3c20cbbb8
commit 5826ee52fc
2 changed files with 3 additions and 1 deletions

View file

@ -47,6 +47,7 @@ in
disable-user-extensions = false;
enabled-extensions = [
"hidetopbar@mathieu.bidon.ca"
"pano@elhan.io"
];
favorite-apps = [
"org.gnome.Nautilus.desktop"
@ -140,6 +141,7 @@ in
# GNOME Shell extensions
home.packages = with pkgs; [
gnomeExtensions.hide-top-bar
gnomeExtensions.pano
];
};
}

View file

@ -79,7 +79,7 @@
bind-key -T copy-mode-vi y if-shell 'command -v pbcopy' \
'send-keys -X copy-pipe-and-cancel "pbcopy"' \
'if-shell "test -n \"$WAYLAND_DISPLAY\"" \
"send-keys -X copy-pipe-and-cancel \"wl-copy\"" \
"send-keys -X copy-pipe-and-cancel \"wl-copy --foreground\"" \
"send-keys -X copy-pipe-and-cancel \"xclip -selection clipboard\""'
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle