aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/customservices.md
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2022-11-05 15:11:48 +0100
committerBastien Wirtz <bastien.wirtz@gmail.com>2022-11-05 15:11:48 +0100
commitf72c0bc7811dc19499418371e08930747fe087dc (patch)
tree65185009e967b05fe06ad40d5bb88d070bf2f0b2 /docs/customservices.md
parentbdad8933ff354ed33a4f3c004cf63433309e9597 (diff)
downloadhomer-f72c0bc7811dc19499418371e08930747fe087dc.tar.gz
homer-f72c0bc7811dc19499418371e08930747fe087dc.tar.zst
homer-f72c0bc7811dc19499418371e08930747fe087dc.zip
New Copy to clipboard custom service
Diffstat (limited to 'docs/customservices.md')
-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```