summaryrefslogtreecommitdiffstats
path: root/base/qingy/theme
blob: 289f30d09170c4ba950ae489323376f9c5a4c953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
theme
{	
	background = "background.jpg"
	font = "decker.ttf"

# opacity values, from 0 (transparent) to 255 (opaque)
	button_opacity          = 255
	window_opacity          = 128
	selected_window_opacity = 255

# Colors can be given in a hex quadruplet (values from 00 to ff)
# or via comma-separated decimals (0 to 255). Format is RGBA
#	mask_text_color   = [ 28b428ff ]
#	cursor_text_color = [ 145a14dd ]
#	other_text_color  = [ 404040ff ]
	default_text_color   =  40, 180, 40, 255
	default_cursor_color =  20,  90, 20, 221
	other_text_color     = 255, 255,  0, 255

# wether we should clear background image during dialogs
# (default is no, unless you set it differently in qingy config file)...
	clear_background = yes

# this is the native resolution of the theme, i.e. the resolution the theme
# was designed for. If qingy detects a running resolution different than this
# one, it will (try to) scale things so that they will look the same across
# all resolutions. If this is omitted, qingy will default to 800x600 to
# maintain compatibility with older themes...
	native_resolution = 1024x768

	#mouse_cursor = yes
	mouse_cursor =
	{
		"Arrow.png",  # image path
		0,            # hotspot: x offset
		0             # hotspot: y offset
	}

# how many seconds should we wait when displaying the 'system will XXX in YYY seconds...'?
	countdown_timeout = 5

# how many seconds should we wait when displaying informative messages ('login failed', ...)?
	info_message_timeout = 2

# how many seconds should we wait when displaying welcome message in case of successful login?
	welcome_message_timeout = 1

# these are the various messages that qingy may show up in its GUI
# you are free to change them. If you do not define these variables
# default (English) messages will be shown
	shutdown_timeout_message = "system shutdown in <INS_TIMEOUT_HERE> seconds"
	restart_timeout_message = "system restart in <INS_TIMEOUT_HERE> seconds"
	sleep_timeout_message = "system will fall asleep in <INS_TIMEOUT_HERE> seconds"
	sleep_forbidden_message = "Putting this machine in sleep mode is not allowed!"
	shutdown_forbidden_message = "Shutting down this machine is not allowed!"
	sleep_password_message = "You must enter root password to put this machine to sleep!"
	shutdown_password_message = "You must enter root password to shut down this machine!"
	shutdown_message = "shutting down system..."
	restart_message = "rebooting system..."
	login_message = "Logging in"
	login_failed_message = "Login failed!"
	abort_message = "Press ESC key to abort"
	caps_message = "CAPS LOCK is pressed"
	sleep_cmd_message = "You must define sleep command in settings file!"
	crypto_error_message = "Crypto error - regenerate your keys!"
	welcome_message = "Starting selected session..."
}

window
{
	# window geometry
	x      = 0
	y      = 96
	width  = 1024
	height = 64

	# text size: chose between 'small', 'medium' and 'large'
	# default is 'large'
	#text_size        = large
	
	# text alignment: 'left', 'center', 'right'. Default is 'left'
	text_orientation = center

	#colors: if not defined, theme defaults will be used
	#text_color   = 180, 40, 40, 255
	#cursor_color =  90, 20, 20, 221

	# update time, 0 means do not update, which is default
	# this setting has meaning only if window type is "label"
	# time = 0

	# window type, allowed values are:
	# "label", "button", "login", "password", "combo"
	type    = "label"
	content = "Bienvenue sur <INS_CMD_HERE>"
	# The <INS_CMD_HERE> above is substituted with the output of 'command'
	command = "hostname"
}

window
{
	x      = 0
	y      = 746
	width  = 1024
	height = 38

	text_orientation = center
	text_size        = small

	text_color   = 200, 200, 40, 255
	time = 1

	type    = "label"
	content = "<INS_CMD_HERE>"
	command = "echo `date +%a,` `date +%d` `date +%b` `date +%Y,` `uptime`"
}

window
{
	x                = 128
	y                = 281
	width            = 153
	height           = 64
	text_orientation = right
	type             = "label"
	content          = "login:"
	linkto           = "login"
}

window
{
	x            = 307
	y            = 281
	width        = 716
	height       = 64
	text_color   = 200, 200, 40, 255
	cursor_color =  90,  90, 20, 221
	type         = "login"

	mouse_cursor =
	{
		"IBeam.png",  # image path
		6,            # hotspot: x offset
		16            # hotspot: y offset
	}
}

window
{
	x                = 128
	y                = 377
	width            = 153
	height           = 64
	text_orientation = right
	type             = "label"
	content          = "passwd:"
	linkto           = "password"
}

window
{
	x            = 307
	y            = 377
	width        = 716
	height       = 64
	text_color   = 180, 40, 40, 255
	cursor_color =  90, 20, 20, 221
	type         = "password"

	mouse_cursor =
	{
		"IBeam.png",  # image path
		6,            # hotspot: x offset
		16            # hotspot: y offset
	}
}

window
{
	x                = 128
	y                = 473
	width            = 153
	height           = 64
	text_orientation = right
	type             = "label"
	content          = "session:"
	linkto           = "session"
}

window
{
	x          = 307
	y          = 473
	width      = 716
	height     = 64
	text_color = 200, 200, 40, 255
	type       = "combo"

	# So far, the only combobox allowed is "sessions"
	command = "sessions"

	mouse_cursor =
	{
		"Hand.png",  # image path
		0,            # hotspot: x offset
		0             # hotspot: y offset
	}
}

window
{
	# window geometry
	x    = 966
	y    = 719
	type = "button"

	# Allowed commands:
	# "halt", "reboot", "sleep", "screensaver"
	command = "halt"

	# Image prefix: will be converted to
	# "<name>_normal.png" and "<name>_mouseover.png"
	content = "power"

	mouse_cursor =
	{
		"Hand.png",  # image path
		0,            # hotspot: x offset
		0             # hotspot: y offset
	}
}

window
{
	x       = 966
	y       = 659
	type    = "button"
	command = "reboot"
	content = "reset"

	mouse_cursor =
	{
		"Hand.png",  # image path
		0,            # hotspot: x offset
		0             # hotspot: y offset
	}
}

window
{
	x       = 966
	y       = 601
	type    = "button"
	command = "screensaver"
	content = "screensaver"

	mouse_cursor =
	{
		"Hand.png",  # image path
		0,            # hotspot: x offset
		0             # hotspot: y offset
	}
}

window
{
	x       = 966
	y       = 544
	type    = "button"
	command = "sleep"
	content = "sleep"

	mouse_cursor =
	{
		"Hand.png",  # image path
		0,            # hotspot: x offset
		0             # hotspot: y offset
	}
}