home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Enlightenment
/
afterstep_theme.tar.gz
/
afterstep_theme.tar
/
afterstep
/
buttons
next >
Wrap
Text File
|
1997-05-26
|
8KB
|
197 lines
#__________________________ENLIGHTENMENT_CONFIG_FILE___________________________
% status /usr/local/enlightenment/images/default/stat_2.ppm shapemode on 255 0 255 Buttons...
# This is the config file that defines the buttons (buttonbars to some) that
# exist on the root window. Instead of defining bars, you define a single
# button, and everything about it... to make bars, just arrange the locations
# of buttons so they form a bar... :)
# this begins the buttons subsection
begin buttons
# this begins an induvidual button
begin button
# First define the images used for the button. the options are unselected
# (when the button is inactive), selected (when the mouse is over the button)
# and clicked (when a user clicks on the button)
# as per usual after the image name is the shape identifier, then on or off
# as to whether you want trasnparency, and then the R G B value (in decimal)
# of the colour to be considered transparent.
image unselected @DIR@/themes/afterstep/images/afstep.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/afstep.ppm shapecolor off 255 0 255
image clicked @DIR@/themes/afterstep/images/afstep.ppm shapecolor off 255 0 255
# this defines the location of the button on screen. it can be relative to the
# topleft, topright, bottomleft or bottomright corners of the screen and the
# 2 numbers after this specify respectively the X & Y co-ordinate offsets
# relative to the same corner of the image (for example, if you use
# bottomright, the offsets define how many pixels in from the bottom right
# corner of the screen the bottom right corner of the button is. 0 0 will put
# it flush in the corner.
location topright 0 0
# this defines if the button is ABOVE or BELOW all client windows on screen..
# this way you can foce buttons to always be on the top or bottom so that they
# either are always visible, or never obscure things.. whatever you please.
level above
# thisd is the action section. It defines what happens when you press mouse
# buttons on the button.
# the first word after action defines the "modifier key" .. ie if you hold
# shift whilst pressing a button.. this can be none, shift, ctrl and alt
# (okay.. abuse me.. I have a PC based Linux box.. alt is a key there.. :) )
# the next is the mouse button number 1-3 (1 is left, 2 is middle, 3 is right)
# and then comes the action.. exec will execute the text folloing it on the
# line as if it were typed in in a shell.
# menu will pop up a menu (when it becomes operational in Enlightenment)
# and exit will .. exit the windowmanager..
# and none.. that just does nothing.. it means enlightenment wont do anything
# when you click ont he button.. :)
action none 1 exec xmessage "The afterstep theme for Enlightenment"
action none 2 none
action none 3 none
action shift 1 none
action shift 2 none
action shift 3 none
action ctrl 1 none
action ctrl 2 none
action ctrl 3 none
action alt 1 none
action alt 2 none
action alt 3 none
# this ends the button section....
end
# and now we begin a new button section.. and we can continue starting new
# buttons fo as long as we like. :)
begin button
image unselected @DIR@/themes/afterstep/images/monitor.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/monitor.ppm shapecolor off 255 0 255
image clicked @DIR@/themes/afterstep/images/monitor2.ppm shapecolor off 255 0 255
location topright 0 65
level above
action none 1 exec xterm -geometry 80x25 -sl 256 -sb -ls -T 'xterm@afterstep.org'
action none 2 exec rxvt
action none 3 none
action shift 1 none
action shift 2 none
action shift 3 none
action ctrl 1 none
action ctrl 2 none
action ctrl 3 none
action alt 1 none
action alt 2 none
action alt 3 none
end
begin button
image unselected @DIR@/themes/afterstep/images/text.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/text.ppm shapecolor off 255 0 255
image clicked @DIR@/themes/afterstep/images/text2.ppm shapecolor off 255 0 255
location topright 0 129
level above
action none 1 exec emacs
action none 2 none
action none 3 none
action shift 1 none
action shift 2 none
action shift 3 none
action ctrl 1 none
action ctrl 2 none
action ctrl 3 none
action alt 1 none
action alt 2 none
action alt 3 none
end
begin button
image unselected @DIR@/themes/afterstep/images/3dpaint.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/3dpaint.ppm shapecolor off 255 0 255
image clicked @DIR@/themes/afterstep/images/3dpaint2.ppm shapecolor off 255 0 255
location topright 0 193
level above
action none 1 exec gimp
action none 2 exec xv
action none 3 none
action shift 1 none
action shift 2 none
action shift 3 none
action ctrl 1 none
action ctrl 2 none
action ctrl 3 none
action alt 1 none
action alt 2 none
action alt 3 none
end
begin button
image unselected @DIR@/themes/afterstep/images/writeletter.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/writeletter.ppm shapecolor off 255 0 255
image clicked @DIR@/themes/afterstep/images/writeletter2.ppm shapecolor off 255 0 255
location topright 0 257
level above
action none 1 exec xterm -T "pine" -e pine
action none 2 exec tkrat
action none 3 none
action shift 1 none
action shift 2 none
action shift 3 none
action ctrl 1 none
action ctrl 2 none
action ctrl 3 none
action alt 1 none
action alt 2 none
action alt 3 none
end
begin button
image unselected @DIR@/themes/afterstep/images/netscape.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/netscape.ppm shapecolor off 255 0 255
image clicked @DIR@/themes/afterstep/images/netscape2.ppm shapecolor off 255 0 255
location topright 0 321
level above
action none 1 exec netscape
action none 2 none
action none 3 none
action shift 1 none
action shift 2 none
action shift 3 none
action ctrl 1 none
action ctrl 2 none
action ctrl 3 none
action alt 1 none
action alt 2 none
action alt 3 none
end
begin button
image unselected @DIR@/themes/afterstep/images/KeysOnChain.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/KeysOnChain.ppm shapecolor off 255 0 255
image clicked @DIR@/themes/afterstep/images/KeysOnChain2.ppm shapecolor off 255 0 255
location topright 0 385
level above
action none 1 exec xlock -modelist "braid flame grav pyro qix rock spiral spline swarm worm" -mode random -duration 0 -allowroot -usefirst
action none 2 none
action none 3 none
action shift 1 none
action shift 2 none
action shift 3 none
action ctrl 1 none
action ctrl 2 none
action ctrl 3 none
action alt 1 none
action alt 2 none
action alt 3 none
end
begin button
image unselected @DIR@/themes/afterstep/images/shutdown.ppm shapecolor off 255 0 255
image selected @DIR@/themes/afterstep/images/shutdown.ppm shapecolor off 255 0 255
image clicked @DIR@/themes/afterstep/images/shutdown2.ppm shapecolor off 255 0 255
location topright 0 449
level above
action none 1 exit
action none 2 none
action none 3 none
action shift 1 none
action shift 2 none
action shift 3 none
action ctrl 1 none
action ctrl 2 none
action ctrl 3 none
action alt 1 none
action alt 2 none
action alt 3 none
end
end