config: add new option ‘selection-target’

This option controls the clipboard target that selected text should be
copied to.
This commit is contained in:
Daniel Eklöf 2021-01-16 11:26:03 +01:00
parent 79e3a46943
commit a0afae747b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 23 additions and 0 deletions

View file

@ -166,6 +166,11 @@ struct config {
char *server_socket_path;
bool presentation_timings;
bool hold_at_exit;
enum {
SELECTION_TARGET_PRIMARY,
SELECTION_TARGET_CLIPBOARD,
SELECTION_TARGET_BOTH
} selection_target;
struct {
char *raw_cmd;