Properly cb copy
content on WM trigger?
#151
Replies: 3 comments 4 replies
-
What does the script look like? If I can reproduce it myself, then I can probably see what's happening exactly. Also, note that desktop script runners like GNOME appear to not allocate a tty, so CB thinks it's getting piped for all actions all the time. |
Beta Was this translation helpful? Give feedback.
-
@Slackadays were you able to replicate the issue that I was facing? |
Beta Was this translation helpful? Give feedback.
-
Don't know what changed after updating my laptop, but somehow I am now able to copy/paste contents with the same script as I had pasted before. 🤷♂️ I honestly don't have time to bisect the change that caused this fix, but if I ever stumble upon it then I'll make sure to mention it here! |
Beta Was this translation helpful? Give feedback.
-
Back here with a question that has been bothering me for quite some time. How can I make it so that a simple script which utilizies
maim
andClipboard
is able to copy the captured image to the system clipboard?Currently
cb
is working as intended, but the only thing I am not able to do is get XMonad to copy the output of screenshot to system-clipboard for me to later paste around. I know that only thecb
part is messed up (works fine when executed through terminal though), because the notification function I have defined in the script is returning the correct path to the image with the thumbnail set to it too! Whilecb
returns/run/user/1000/Clipboard/0/data/14/rawdata.clipboard
on paste andcat rawdata.clipboard
returns empty.Beta Was this translation helpful? Give feedback.
All reactions