Replies: 2 comments 7 replies
-
Also, I just noticed, is there a way to not open the window after starting the server as it calls it? |
Beta Was this translation helpful? Give feedback.
-
Not sure if I understand. If you want to copy the last item stored in CopyQ back to the system clipboard when the app starts, you can use a command to start the app: copyq --start-server 'copy(read(0))' Or create a command so the app does that automatically at start (here is how to add the command to CopyQ): [Command]
Command="
var onStart_ = global.onStart;
global.onStart = function() {
onStart_();
copy(read(0));
}"
Icon=\xf46d
IsScript=true
Name=Copy the last item at start
The
This is possible with Synchronize plugin or you can disable "Save Items" option for a tab (in Preferences under "Tabs" section) store tab data only in the main memory and not on disk. |
Beta Was this translation helpful? Give feedback.
-
I use sway but everythings works just fine. But I couldn't find my way to make copyq automatically provide the last copied item. I always had to open the app and click the
Activate items
(Aktivovat prvky
incs
locale) button. But I would prefer not having to open the application, and since it does pick up the copied text immediately I assume it must be also capable of providing that data without any unnecessary extra steps.I saw with clipman people had to use something like
wl-paste watch -p clipman store -P
.Also, how can I set the filepath for storing the clipboard? I like using
/tmp
to keep the data only until restart.Beta Was this translation helpful? Give feedback.
All reactions