Skip to content

Commit 9977cb6

Browse files
committed
Presets: set timeout to publicip
Fix #1170
1 parent 8c26e77 commit 9977cb6

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

presets/all.jsonc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@
5858
"poweradapter",
5959
"player",
6060
"media",
61-
"publicip",
61+
{
62+
"type": "publicip",
63+
"timeout": 1000
64+
},
6265
{
6366
"type": "localip",
6467
"showIpv6": true,

presets/archey.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@
7575
},
7676
{
7777
"type": "publicip",
78-
"key": "WAN IP"
78+
"key": "WAN IP",
79+
"timeout": 1000
7980
}
8081
]
8182
}

presets/ci.jsonc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@
6060
"poweradapter",
6161
"player",
6262
"media",
63-
"publicip",
63+
{
64+
"type": "publicip",
65+
"timeout": 1000
66+
},
6467
{
6568
"type": "localip",
6669
"showIpv6": true,

presets/examples/12.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@
9797
{
9898
"key": "Public IP ",
9999
"keyColor": "cyan",
100-
"type": "publicip"
100+
"type": "publicip",
101+
"timeout": 1000
101102
},
102103
"break",
103104
{

presets/examples/2.jsonc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@
6666
"type": "localip",
6767
"compact": true
6868
},
69-
"publicip",
69+
{
70+
"type": "publicip",
71+
"timeout": 1000
72+
},
7073
{
7174
"type": "wifi",
7275
"format": "{ssid}"

presets/examples/6.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@
161161
{
162162
"type": "publicip",
163163
"key": "├─󰩠",
164-
"keyColor": "blue"
164+
"keyColor": "blue",
165+
"timeout": 1000
165166
},
166167
{
167168
"type": "wifi",

0 commit comments

Comments
 (0)