~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to Doncky/data/default.xml

  • Committer: Matthieu Baerts
  • Date: 2014-10-19 00:26:10 UTC
  • Revision ID: matttbe@gmail.com-20141019002610-ulf26s9b4c4rw10r
We just switched from BZR to Git.
Follow us on Github: https://github.com/Cairo-Dock

Note: we will only use Github to manage our source code and all pull requests.
Please continue to report your bugs/ideas/messages on our forum or Launchpad! 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- Sample code -->
2
 
<!-- Author : Yann Dulieu (nochka85) -->
3
 
<!--
4
 
This file is a part of the Cairo-Dock project
5
 
 
6
 
Copyright : (C) see the 'copyright' file.
7
 
E-mail    : see the 'copyright' file.
8
 
 
9
 
This program is free software; you can redistribute it and/or
10
 
modify it under the terms of the GNU General Public License
11
 
as published by the Free Software Foundation; either version 3
12
 
of the License, or (at your option) any later version.
13
 
 
14
 
This program is distributed in the hope that it will be useful,
15
 
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 
GNU General Public License for more details.
18
 
You should have received a copy of the GNU General Public License
19
 
along with this program.  If not, see <http://www.gnu.org/licenses/ >.-->
20
 
 
21
 
<doncky>
22
 
        <appearance>
23
 
        <!-- Used when Drag and drop the xml file on the desklet -->
24
 
                <icon_size>110;40</icon_size>
25
 
                <deskletSize>260;160</deskletSize>
26
 
                <decorations>none</decorations>
27
 
                <bg_desklet>path to the background picture</bg_desklet>
28
 
                <bg_alpha>1</bg_alpha>
29
 
                <left_offset>0</left_offset>
30
 
                <top_offset>0</top_offset>
31
 
                <right_offset>0</right_offset>
32
 
                <bottom_offset>0</bottom_offset>
33
 
                <fg_desklet>path to the foreground picture</fg_desklet>
34
 
                <fg_alpha>1</fg_alpha>
35
 
                <defaultFont>Sans 8</defaultFont>
36
 
                <defaultTextColor>255;255;255;255</defaultTextColor>
37
 
                <textMargin>0</textMargin>
38
 
                <spaceBetweenLines>0</spaceBetweenLines>
39
 
                <displayBackground>1</displayBackground>
40
 
                <backgroundColor1>41;45;46;255</backgroundColor1>
41
 
                <backgroundColor2>133;90;255;232</backgroundColor2>
42
 
                <backgroundRadius>15</backgroundRadius>
43
 
                <borderThickness>2</borderThickness>
44
 
                <borderColor>0;0;0;255</borderColor>
45
 
        </appearance>
46
 
 
47
 
        <!--  Time -->
48
 
        <font>Terminal Bitstream Vera Sans Mono 20</font>
49
 
        <color>255;255;255;255</color>
50
 
        <alignW>center</alignW>
51
 
        <cmd>
52
 
                <echo>`uptime | cut -d" " -f2`</echo>
53
 
                <refresh>1</refresh>
54
 
        </cmd>
55
 
 
56
 
        <br/>
57
 
 
58
 
 
59
 
 
60
 
        <!--  Uptime (en cours) -->
61
 
        <font>Terminal Bitstream Vera Sans Mono 12</font>
62
 
        <alignW>center</alignW>
63
 
        <txt>UPTIME: </txt>
64
 
        <cmd>
65
 
                <internal>uptime</internal>
66
 
                <refresh>1</refresh>
67
 
        </cmd>
68
 
 
69
 
        <br>5</br>
70
 
        
71
 
 
72
 
        <!--  Version GNU/Linux  -->
73
 
        <font>Terminal Bitstream Vera Sans Mono 8</font>
74
 
        <color>255;255;0;255</color>
75
 
        <alignW>center</alignW>
76
 
        <cmd>
77
 
                <echo>`uname -o` version : </echo>
78
 
        </cmd>
79
 
        <font>Terminal Bitstream Vera Sans Mono Bold 8</font>
80
 
        <cmd>
81
 
                <echo>`cat /etc/issue.net` $(lsb_release -sc)</echo>
82
 
        </cmd>
83
 
 
84
 
        <br/>
85
 
        
86
 
 
87
 
        <!--  Version du Noyau  -->
88
 
        <font>Terminal Bitstream Vera Sans Mono 8</font>
89
 
        <txt>Version du Noyau : </txt>
90
 
        <font>Terminal Bitstream Vera Sans Mono Bold 8</font>
91
 
        <cmd>
92
 
                <bash>uname -r</bash>
93
 
        </cmd>
94
 
 
95
 
        <br>10</br>
96
 
 
97
 
 
98
 
        <!--  CPU Usage -->
99
 
        <font>Terminal Bitstream Vera Sans Mono Bold 10</font>
100
 
        <alignW>left</alignW>
101
 
        <color>0;0;0;255</color>
102
 
        <txt>CPU Usage : </txt> 
103
 
        <color>255;255;0;255</color>
104
 
        <cmd>
105
 
                <internal>cpuperc</internal>
106
 
                <refresh>1</refresh>
107
 
        </cmd>
108
 
        <txt>%</txt>
109
 
        <cmd>
110
 
                <bar>cpuperc;10</bar>
111
 
                <refresh>1</refresh>
112
 
        </cmd>
113
 
 
114
 
        <br/> 
115
 
 
116
 
 
117
 
        <!--  Mem  -->
118
 
        <color>0;0;0;255</color>
119
 
        <txt>RAM : </txt>
120
 
        <font>Terminal Bitstream Vera Sans Mono 10</font>
121
 
        <cmd>
122
 
                <internal>mem</internal>
123
 
                <refresh>3</refresh>
124
 
        </cmd>
125
 
        <txt>Mo/</txt>
126
 
        <cmd>
127
 
                <internal>memmaxg</internal>
128
 
        </cmd>
129
 
        <txt>Go - </txt>
130
 
        <font>Terminal Bitstream Vera Sans Mono Bold 10</font>
131
 
        <color>255;255;0;255</color>
132
 
        <cmd>
133
 
                <internal>memperc</internal>
134
 
                <refresh>3</refresh>
135
 
        </cmd>
136
 
        <txt>%</txt>
137
 
        <cmd>
138
 
                <bar>memperc;10</bar>
139
 
                <refresh>3</refresh>
140
 
        </cmd>
141
 
 
142
 
        <br/> 
143
 
 
144
 
 
145
 
        <!--  Swap Perc -->
146
 
        <color>0;0;0;255</color>
147
 
        <txt>Swap : </txt>
148
 
        <font>Terminal Bitstream Vera Sans Mono 10</font>
149
 
        <cmd>
150
 
                <internal>swap</internal>
151
 
                <refresh>3</refresh>
152
 
        </cmd>
153
 
        <txt>Mo/</txt>
154
 
        <cmd>
155
 
                <internal>swapmaxg</internal>
156
 
        </cmd>
157
 
        <txt>Go - </txt>
158
 
        <color>255;255;0;255</color>
159
 
        <cmd>
160
 
                <internal>swapperc</internal>
161
 
                <refresh>3</refresh>
162
 
        </cmd>
163
 
        <font>Terminal Bitstream Vera Sans Mono Bold 10</font>
164
 
        <txt>%</txt>
165
 
        <cmd>
166
 
                <bar>swapperc;10</bar>
167
 
                <refresh>3</refresh>
168
 
        </cmd>
169
 
</doncky>