mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-21 06:46:34 -04:00
config: add show-urls-copy action
This works just like show-urls-launch, except that instead of opening the URL (typically using xdg-open), it is placed in the clipboard when activated.
This commit is contained in:
parent
b17a392b8c
commit
93181649b3
8 changed files with 52 additions and 20 deletions
|
|
@ -11,7 +11,7 @@ static inline bool urls_mode_is_active(const struct terminal *term)
|
|||
return tll_length(term->urls) > 0;
|
||||
}
|
||||
|
||||
void urls_collect(struct terminal *term);
|
||||
void urls_collect(struct terminal *term, enum url_action action);
|
||||
void urls_reset(struct terminal *term);
|
||||
|
||||
void urls_input(struct seat *seat, struct terminal *term, uint32_t key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue