A mirror of phillbush's xmenu.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

60 lines
2.0 KiB

  1. static struct Config config = {
  2. /* font, separate different fonts with comma */
  3. .font = "monospace:size=9,DejaVuSansMono:size=9",
  4. /* colors */
  5. .background_color = "#FFFFFF",
  6. .foreground_color = "#2E3436",
  7. .selbackground_color = "#3584E4",
  8. .selforeground_color = "#FFFFFF",
  9. .separator_color = "#CDC7C2",
  10. .border_color = "#E6E6E6",
  11. /* sizes in pixels */
  12. .width_pixels = 130, /* minimum width of a menu */
  13. .height_pixels = 25, /* height of a single menu item */
  14. .border_pixels = 1, /* menu border */
  15. .separator_pixels = 3, /* space around separator */
  16. .gap_pixels = 0, /* gap between menus */
  17. /*
  18. * The variables below cannot be set by X resources.
  19. * Their values must be less than .height_pixels.
  20. */
  21. /* geometry of the right-pointing isoceles triangle for submenus */
  22. .triangle_width = 3,
  23. .triangle_height = 7,
  24. /* the icon size is equal to .height_pixels - .iconpadding * 2 */
  25. .iconpadding = 2,
  26. /* area around the icon, the triangle and the separator */
  27. .horzpadding = 8,
  28. };
  29. /*
  30. * KEYBINDINGS
  31. *
  32. * Look at your /usr/include/X11/keysymdef.h (or the equivalent file
  33. * in your system) for a list of key symbol constants, and change the
  34. * macros below accordingly. Note there IS NO equal sign (=) between
  35. * the macros and their values. All key symbol constants begin with
  36. * the prefix XK_
  37. *
  38. * For example, to use vim-like key bindings, set KEYSYMLEFT to XK_h,
  39. * KEYSYMDOWN to XK_j, KEYSYMUP to XK_k, etc.
  40. *
  41. * Note that the regular keys like ArrowUp, ArrowDown, Tab, Home, etc
  42. * will ALWAYS work, so you do not need to set them.
  43. *
  44. * If you do not want to set a key binding, keep it with the value of
  45. * XK_VoidSymbol
  46. */
  47. #define KSYMFIRST XK_VoidSymbol /* select first item */
  48. #define KSYMLAST XK_VoidSymbol /* select last item */
  49. #define KSYMUP XK_VoidSymbol /* select previous item */
  50. #define KSYMDOWN XK_VoidSymbol /* select next item */
  51. #define KSYMLEFT XK_VoidSymbol /* close current menu */
  52. #define KSYMRIGHT XK_VoidSymbol /* enter selected item */