aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/customservices.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/customservices.md b/docs/customservices.md
index fb3f2a7..65f3d4c 100644
--- a/docs/customservices.md
+++ b/docs/customservices.md
@@ -27,6 +27,7 @@ within Homer:
27 - [Proxmox](#proxmox) 27 - [Proxmox](#proxmox)
28 - [rTorrent](#rtorrent) 28 - [rTorrent](#rtorrent)
29 - [qBittorrent](#qbittorrent) 29 - [qBittorrent](#qbittorrent)
30 - [CopyToClipboard](#copy-to-clipboard)
30 31
31If you experiencing any issue, please have a look to the [troubleshooting](troubleshooting.md) page. 32If you experiencing any issue, please have a look to the [troubleshooting](troubleshooting.md) page.
32 33
@@ -317,3 +318,20 @@ servers can be found at [enable-cors.org](https://enable-cors.org/server.html).
317 torrentInterval: 5000 # Interval for updating the torrent count. 318 torrentInterval: 5000 # Interval for updating the torrent count.
318 target: "_blank" # optional html a tag target attribute 319 target: "_blank" # optional html a tag target attribute
319``` 320```
321
322## Copy to Clipboard
323
324This service displays the same information of a generic one, but shows an icon button on the indicator place (right side) you can click to get the content of the `clipboard` field copied to your clipboard.
325
326You can still provide an `url` that would be open when clicked anywhere but on the icon button.
327
328Configuration example:
329
330```yaml
331- name: "Copy me!"
332 logo: "assets/tools/sample.png"
333 subtitle: "Subtitle text goes here"
334 url: "#"
335 type: "CopyToClipboard"
336 clipboard: "this text will be copied to your clipboard"
337```