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

Select and copy text #988

Open
var314 opened this issue Nov 29, 2021 · 5 comments
Open

Select and copy text #988

var314 opened this issue Nov 29, 2021 · 5 comments

Comments

@var314
Copy link

var314 commented Nov 29, 2021

Hi, is it possible to select text in notification by mouse and copy/paste it?
#246 is marked as solved by #530, which would suggest it is possible. But it does not work for me. I tried with mouse_left_click = none and with its default close_current. I also tried force_xwayland = true.

I am aware of #753, which would allow to copy whole text. Still for me selecting to copy only the interesting part would be nice.

Installation info

  • Version: 1.7.1 (2021-11-01)
  • Install type: package
  • Distro and version: Arch Linux
  • Graphical environment: Sway/Wayland
@fwsmit fwsmit added the Feature label Nov 29, 2021
@fwsmit
Copy link
Member

fwsmit commented Nov 29, 2021

Yeah it would be interesting. I don't know how doable it would be, since we're not using any kind of GUI toolkit. This feature may be more suitable to other notification daemons.

@fwsmit fwsmit added the wontfix label Nov 30, 2021
@joshpetit
Copy link

joshpetit commented Jun 10, 2023

@fwsmit Are you aware of any other daemon that has this capability? A work around I may consider is a simple script that opens the notification in a nvim buffer to allow selecting+copying.

@fwsmit
Copy link
Member

fwsmit commented Jun 12, 2023

No, I'm not aware of any other daemon that can do this. Your workaround seems feasible.

@bynect
Copy link
Member

bynect commented Feb 21, 2024

Copying the whole summary is easy (xclip in the script) but for specific part of text there is no way to select them

@eugenevd
Copy link

Copying the whole summary is easy (xclip in the script) but for specific part of text there is no way to select them

In that case, if the string is of consistent format, you'd probably be able to get the selection with grep or other tools as part of that script

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

No branches or pull requests

5 participants