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 >
Text File  |  1997-05-26  |  8KB  |  197 lines

  1. #__________________________ENLIGHTENMENT_CONFIG_FILE___________________________
  2.  
  3. % status /usr/local/enlightenment/images/default/stat_2.ppm shapemode on 255 0 255 Buttons...
  4.  
  5. # This is the config file that defines the buttons (buttonbars to some) that
  6. # exist on the root window. Instead of defining bars, you define a single
  7. # button, and everything about it... to make bars, just arrange the locations
  8. # of buttons so they form a bar... :)
  9.  
  10. # this begins the buttons subsection
  11. begin buttons
  12. # this begins an induvidual button
  13.   begin button
  14. # First define the images used for the button. the options are unselected
  15. # (when the button is inactive), selected (when the mouse is over the button)
  16. # and clicked (when a user clicks on the button)
  17. # as per usual after the image name is the shape identifier, then on or off
  18. # as to whether you want trasnparency, and then the R G B value (in decimal)
  19. # of the colour to be considered transparent.
  20.     image unselected @DIR@/themes/afterstep/images/afstep.ppm shapecolor off 255 0 255
  21.     image selected   @DIR@/themes/afterstep/images/afstep.ppm shapecolor off 255 0 255
  22.     image clicked    @DIR@/themes/afterstep/images/afstep.ppm shapecolor off 255 0 255
  23. # this defines the location of the button on screen. it can be relative to the
  24. # topleft, topright, bottomleft or bottomright corners of the screen and the
  25. # 2 numbers after this specify respectively the X & Y co-ordinate offsets
  26. # relative to the same corner of the image (for example, if you use
  27. # bottomright, the offsets define how many pixels in from the bottom right
  28. # corner of the screen the bottom right corner of the button is. 0 0 will put
  29. # it flush in the corner.
  30.     location topright 0 0
  31. # this defines if the button is ABOVE or BELOW all client windows on screen..
  32. # this way you can foce buttons to always be on the top or bottom so that they
  33. # either are always visible, or never obscure things.. whatever you please.
  34.     level above
  35. # thisd is the action section. It defines what happens when you press mouse
  36. # buttons on the button.
  37. # the first word after action defines the "modifier key" .. ie if you hold
  38. # shift whilst pressing a button.. this can be none, shift, ctrl and alt
  39. # (okay.. abuse me.. I have a PC based Linux box.. alt is a key there.. :) )
  40. # the next is the mouse button number 1-3 (1 is left, 2 is middle, 3 is right)
  41. # and then comes the action.. exec will execute the text folloing it on the
  42. # line as if it were typed in in a shell.
  43. # menu will pop up a menu (when it becomes operational in Enlightenment)
  44. # and exit will .. exit the windowmanager.. 
  45. # and none.. that just does nothing.. it means enlightenment wont do anything
  46. # when you click ont he button.. :)
  47.     action none 1 exec xmessage "The afterstep theme for Enlightenment"
  48.     action none 2 none
  49.     action none 3 none
  50.     action shift 1 none
  51.     action shift 2 none
  52.     action shift 3 none
  53.     action ctrl 1 none
  54.     action ctrl 2 none
  55.     action ctrl 3 none
  56.     action alt 1 none
  57.     action alt 2 none
  58.     action alt 3 none
  59. # this ends the button section....
  60.   end
  61. # and now we begin a new button section.. and we can continue starting new
  62. # buttons  fo as long as we like. :)
  63.   begin button
  64.     image unselected @DIR@/themes/afterstep/images/monitor.ppm shapecolor off 255 0 255
  65.     image selected   @DIR@/themes/afterstep/images/monitor.ppm shapecolor off 255 0 255
  66.     image clicked    @DIR@/themes/afterstep/images/monitor2.ppm shapecolor off 255 0 255
  67.     location topright 0 65
  68.     level above
  69.     action none 1 exec xterm -geometry 80x25 -sl 256 -sb -ls -T 'xterm@afterstep.org'
  70.     action none 2 exec rxvt
  71.     action none 3 none
  72.     action shift 1 none
  73.     action shift 2 none
  74.     action shift 3 none
  75.     action ctrl 1 none
  76.     action ctrl 2 none
  77.     action ctrl 3 none
  78.     action alt 1 none
  79.     action alt 2 none
  80.     action alt 3 none
  81.   end
  82.   begin button
  83.     image unselected @DIR@/themes/afterstep/images/text.ppm shapecolor off 255 0 255
  84.     image selected   @DIR@/themes/afterstep/images/text.ppm shapecolor off 255 0 255
  85.     image clicked    @DIR@/themes/afterstep/images/text2.ppm shapecolor off 255 0 255
  86.     location topright 0 129
  87.     level above
  88.     action none 1 exec emacs
  89.     action none 2 none
  90.     action none 3 none
  91.     action shift 1 none
  92.     action shift 2 none
  93.     action shift 3 none
  94.     action ctrl 1 none
  95.     action ctrl 2 none
  96.     action ctrl 3 none
  97.     action alt 1 none
  98.     action alt 2 none
  99.     action alt 3 none
  100.   end
  101.   begin button
  102.     image unselected @DIR@/themes/afterstep/images/3dpaint.ppm shapecolor off 255 0 255
  103.     image selected   @DIR@/themes/afterstep/images/3dpaint.ppm shapecolor off 255 0 255
  104.     image clicked    @DIR@/themes/afterstep/images/3dpaint2.ppm shapecolor off 255 0 255
  105.     location topright 0 193
  106.     level above
  107.     action none 1 exec gimp
  108.     action none 2 exec xv
  109.     action none 3 none
  110.     action shift 1 none
  111.     action shift 2 none
  112.     action shift 3 none
  113.     action ctrl 1 none
  114.     action ctrl 2 none
  115.     action ctrl 3 none
  116.     action alt 1 none
  117.     action alt 2 none
  118.     action alt 3 none
  119.   end
  120.   begin button
  121.     image unselected @DIR@/themes/afterstep/images/writeletter.ppm shapecolor off 255 0 255
  122.     image selected   @DIR@/themes/afterstep/images/writeletter.ppm shapecolor off 255 0 255
  123.     image clicked    @DIR@/themes/afterstep/images/writeletter2.ppm shapecolor off 255 0 255
  124.     location topright 0 257
  125.     level above
  126.     action none 1 exec xterm -T "pine" -e pine
  127.     action none 2 exec tkrat
  128.     action none 3 none
  129.     action shift 1 none
  130.     action shift 2 none
  131.     action shift 3 none
  132.     action ctrl 1 none
  133.     action ctrl 2 none
  134.     action ctrl 3 none
  135.     action alt 1 none
  136.     action alt 2 none
  137.     action alt 3 none
  138.   end
  139.   begin button
  140.     image unselected @DIR@/themes/afterstep/images/netscape.ppm shapecolor off 255 0 255
  141.     image selected   @DIR@/themes/afterstep/images/netscape.ppm shapecolor off 255 0 255
  142.     image clicked    @DIR@/themes/afterstep/images/netscape2.ppm shapecolor off 255 0 255
  143.     location topright 0 321
  144.     level above
  145.     action none 1 exec netscape
  146.     action none 2 none
  147.     action none 3 none
  148.     action shift 1 none
  149.     action shift 2 none
  150.     action shift 3 none
  151.     action ctrl 1 none
  152.     action ctrl 2 none
  153.     action ctrl 3 none
  154.     action alt 1 none
  155.     action alt 2 none
  156.     action alt 3 none
  157.   end
  158.   begin button
  159.     image unselected @DIR@/themes/afterstep/images/KeysOnChain.ppm shapecolor off 255 0 255
  160.     image selected   @DIR@/themes/afterstep/images/KeysOnChain.ppm shapecolor off 255 0 255
  161.     image clicked    @DIR@/themes/afterstep/images/KeysOnChain2.ppm shapecolor off 255 0 255
  162.     location topright 0 385
  163.     level above
  164.     action none 1 exec xlock -modelist "braid flame grav pyro qix rock spiral spline swarm worm" -mode random -duration 0 -allowroot -usefirst
  165.     action none 2 none
  166.     action none 3 none
  167.     action shift 1 none
  168.     action shift 2 none
  169.     action shift 3 none
  170.     action ctrl 1 none
  171.     action ctrl 2 none
  172.     action ctrl 3 none
  173.     action alt 1 none
  174.     action alt 2 none
  175.     action alt 3 none
  176.   end
  177.   begin button
  178.     image unselected @DIR@/themes/afterstep/images/shutdown.ppm shapecolor off 255 0 255
  179.     image selected   @DIR@/themes/afterstep/images/shutdown.ppm shapecolor off 255 0 255
  180.     image clicked    @DIR@/themes/afterstep/images/shutdown2.ppm shapecolor off 255 0 255
  181.     location topright 0 449
  182.     level above
  183.     action none 1 exit
  184.     action none 2 none
  185.     action none 3 none
  186.     action shift 1 none
  187.     action shift 2 none
  188.     action shift 3 none
  189.     action ctrl 1 none
  190.     action ctrl 2 none
  191.     action ctrl 3 none
  192.     action alt 1 none
  193.     action alt 2 none
  194.     action alt 3 none
  195.   end
  196. end
  197.