Last active
December 10, 2023 16:19
-
-
Save darkato42/f92b7ce0af8bdd1ac9da4720af7c5d40 to your computer and use it in GitHub Desktop.
stash-tiles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$httpClient.get('https://api.my-ip.io/ip', function (error, response, data) { | |
$done({ | |
title: '当前 IP 地址', | |
content: data, | |
backgroundColor: '#663399', | |
icon: 'network', | |
}) | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tiles: | |
- name: current-ip | |
interval: 600 | |
title: 'Awesome Tile' | |
content: 'This is Super Cool' | |
icon: 'theatermasks.circle.fill' # 或 https://stash.ws/amazing.png | |
backgroundColor: '#663399' | |
script-providers: | |
current-ip: | |
url: https://gist.githubusercontent.com/darkato42/f92b7ce0af8bdd1ac9da4720af7c5d40/raw/52aef8fc1a6bd2c85b1ceca1281f3e10ccaaf3dc/stash-tile-current-ip.js | |
interval: 86400 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment