Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] C-y paste the clipboard and the curses backend (integration with tmux buffers) #339

Open
m040601 opened this issue May 7, 2023 · 1 comment

Comments

@m040601
Copy link

m040601 commented May 7, 2023

First of all thank your for all the work in this awesome, and polished tool.

From the man page,

C-y - paste the clipboard

From the README,

Currently, pasting from clipboard is done at runtime with wl-paste -t text/plain and xclip -t text/plain -out, attempted in that order.

So I guess this is some what hardcoded. Does this "currently" means maybe in the future something else ?

My use case is this.

99.99% of my time is spend in the terminal. And using tmux. And using bemenu with the curses interface in the terminal. Beautifull.
(Well, actually 90% of my time I dont even boot a window manager, a desktop, or X11/Wayland.)

If, I am in X11 or Wayland,and want to copy something from another GUI window to bemenu, I am already served.

If, I am not in X11 or Wayland, then there is no "xclip" or "wayland tool". So I have nothing to copy "from".

But, even if I was in X11 or Wayland, I might want to copy from the tmux buffer itself. Not from another GUI window.

Tmux has this powerfull buffers abilities. I'm constantly cutting, copying pasting between all my terminal "windows" with it.

But if I want to copy from the tmux buffer to bemenu directly, there is currentyl not this option.

Would this be possible ? And have that "pasting" option not "hardcoded" ? Maybe as an environemtal option ?

Thanks in advance

@m040601 m040601 changed the title [Request] C-y paste the clipboard for the curses backend [Request] C-y paste the clipboard for the curses backend (integration with tmux buffers) May 7, 2023
@m040601 m040601 changed the title [Request] C-y paste the clipboard for the curses backend (integration with tmux buffers) [Request] C-y paste the clipboard and the curses backend (integration with tmux buffers) May 7, 2023
@Cloudef
Copy link
Owner

Cloudef commented May 7, 2023

Inside terminal or multiplexer like tmux, normal copy-paste functions provided by terminal or multiplexer should work 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants