File: THEMES

package info (click to toggle)
penguineyes 0.10-22
  • links: PTS
  • area: main
  • in suites: woody
  • size: 736 kB
  • ctags: 219
  • sloc: ansic: 1,928; sh: 346; makefile: 124
file content (52 lines) | stat: -rw-r--r-- 2,067 bytes parent folder | download
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
			  Penguineyes theme format.

Penguineyes reads all files in ~/.penguineyes/Config and
/usr/local/share/penguineyes/Config as rc files.

The syntax for the rcfiles is as follows:

Subdir <subdir> # subdir in the penguineyes directory to look under

image "name of theme" "file"
	mask "file"
	say "blah blah blah blah"
	eye <x> <y> <width> <height> [width of ball]
		[height of ball] pixmap "file" # these are optional
	repeat for number of eyeballs
	eye_colour <r> <b> <g>  (r,b,g from 0 to 255) # not for pixmap eyeballs
	clock <x> <y> <width> <height> [smooth]
	{second,minute,hour}_hand <w1> <w2> <length> <r> <b> <g>
	launch "program -options"
end

default "name of theme that you want"
applet_default "name of theme for applets"
default_launch "program -options"

--

 The mask should be a simple image which is blank, with alpha 'holes' where
the eyes are drawn (see the *mask* files in the Default directory)

 If you omit height of eyeball, then it is the same as the width, if you
use pixmap, then you can omit width and height of the ball, and the w/h of
the pixmap will be used.

 The 'say' field is used to set the tooltip for GNOME, although I'll probably
add it to the main program when I can be bothered.

 The 'clock' field specifies the rectangle in which the clock is enclosed,
if smooth mode is selected, then the clock is updated constantly, rather than
every second.
The *_hand options are optional, and the numbers to use are completely
irrational - w1 is the width if the center point of the hand, w2 the width of
the outer point, and length is ... um ... the length of the hand, the r,b,g
numbers specify the colour. I find it best to ignore these settings, since
the defaults are nice enough anyway ;-P

the "launch" parameter refers to the command line that will be run when you
click on the penguineyes applet, otherwise "default_launch" is used.

 Penguineyes searches for the pixmap in the base penguineyes dir, or the base
+subdir, so you can load files from other themes by specifying something like
eye 10 10 40 40 "Default/luv.png"