Skip to content

Commit 08d2c8b

Browse files
committed
feat: Modify the default configuration json
1 parent 45d1a38 commit 08d2c8b

4 files changed

Lines changed: 18 additions & 10 deletions

File tree

dde-dock-plugin/NetPlugins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"WinDdeDock":{
33
"ColorAndFont":{
4-
"FontSize":9,
4+
"FontSize":8,
55
"FontType":"Noto Sans CJK SC",
66
"FontTypeIndex":59,
77
"LabTextColor":"#000000",

images/NetSpeed.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

resource/NetSpeed.desktop

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Encoding=UTF-8
3+
Exec=/usr/bin/NetSpeed/NetSpeed
4+
Icon=/home/xmuli/project/github/NetSpeed/resource/images/NetSpeed.svg
5+
Name=NetSpeed
6+
Terminal=false
7+
Type=Application
8+
Version=1.0
9+
X-Deepin-Vendor=user-custom

resource/data/NetSpeed.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"DisolayText": {
44
"DisolayCPUAndMemory": true,
55
"DisolayNet": true,
6-
"FractionalAccuracy": 2,
6+
"FractionalAccuracy": 0,
77
"LocationExchangeCPUAndMenory": false,
88
"LocationExchangeNet": false,
9-
"RefreshInterval": 2000
9+
"RefreshInterval": 1000
1010
},
1111
"IsExportSystenPath": false,
1212
"IsHorizontal": true,
@@ -31,7 +31,7 @@
3131
"labBackgroundImage": "xxx.png"
3232
},
3333
"TextHor": {
34-
"FontSize": 9,
34+
"FontSize": 10,
3535
"FontType": "Noto Sans CJK SC",
3636
"FontTypeIndex": 59,
3737
"LabCpu": " CPU: ",
@@ -54,13 +54,13 @@
5454
"labBackgroundImage": "xxx.png"
5555
},
5656
"TextVer": {
57-
"FontSize": 10,
57+
"FontSize": 9,
5858
"FontType": "Noto Sans CJK SC",
5959
"FontTypeIndex": 59,
60-
"LabCpu": " C: ",
61-
"LabDown": ": ",
62-
"LabMemory": " M: ",
63-
"LabUpload": ": "
60+
"LabCpu": "C ",
61+
"LabDown": "",
62+
"LabMemory": "M ",
63+
"LabUpload": ""
6464
}
6565
},
6666
"Language": {

0 commit comments

Comments
 (0)