Advertisement
Guest User

options.js

a guest
Jan 3rd, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. // Show a horizontal clock instead of a vertical clock. Default is false.
  2. var horizontal = false;
  3.  
  4. // Shows the a battery visual behind the clock when your device is charging.
  5. // Default is true.
  6. var battery = true;
  7.  
  8. // 24 hour time. true = 24 hours, false = 12 hours. Default is false.
  9. var hours24 = true;
  10.  
  11. // Spacing between the widget and top of your screen (vertical clock only).
  12. // Default is 155 pixels.
  13. var vertical_spacing = 140;
  14.  
  15. // Spacing between the widget and top of your screen (horizontal clock only).
  16. // Default is 60 pixels.
  17. var horizontal_spacing = 45;
  18.  
  19. // The seperator between the hours and minutes of the horizontal clock. Default is ".".
  20. var horizontal_separator = ".";
  21.  
  22. // Allow the widget to move up when notifications are present on the lockscreen.
  23. // Default is true.
  24. var notification_support = false;
  25.  
  26. // Spacing between the widget and the top of your screen when
  27. // notifications are present on the lockscreen. Default is 10 pixels.
  28. var notification_spacing = 10;
  29.  
  30. // Enter your woeid here if you want your current temperature.
  31. // To find your woeid, go to http://woeid.rosselliot.co.nz/ and enter your location.
  32. // Default is "2434077" (Kyle, TX).
  33. var woeid = "2434077";
  34.  
  35. // Temperature unit. Default is "c" (Celcius).
  36. var unit = "c";
  37.  
  38. // Show a background colour behind the widget. Default is "transparent".
  39. // For colour information, go to http://www.colorpicker.com/ for hex codes.
  40. var bg_colour = "transparent";
  41.  
  42. // Change the background colour opacity. Default is 1.0.
  43. var bg_opacity = 1.0;
  44.  
  45. // Show the background blur. Default is false. This option is BUGGY.
  46. // If you choose to have blur on, it may take time to create the blur every so often.
  47. // Also, if you reset your wallpaper to something else, you MUST respring!
  48. var blur = false;
  49.  
  50. // Blur radius for the background blur behind Cataracs. Default is 25 pixels.
  51. var radius = 25;
  52.  
  53. // Update the blur to support the iPhone 6. This is /required/ if you intend
  54. // to us the blur if you are on a iPhone 6. Default is false.
  55. var iPhone_6_blur = false;
  56.  
  57. // Update the blur to support the iPhone 6 Plus. This is /required/ if you intend
  58. // to us the blur if you are on a iPhone 6 Plus. Default is false.
  59. var iPhone_6_Plus_blur = false;
  60.  
  61. // Show the current temperature. Default is false.
  62. var temp = false;
  63.  
  64. // Show the date under the time. Default is false.
  65. var date = false;
  66.  
  67. // Show a shadow under the widget. Default is false.
  68. var shadow = false;
  69.  
  70. // The border width of the clock (thickness). Default is 2 pixels.
  71. var border_width = 2;
  72.  
  73. // The font family of the clock. Default is "Gotham".
  74. // Some examples include "Arial", "Times New Roman", and "Helvetica".
  75. var font_family = "-apple-system-font";
  76.  
  77. // Change the x / y position of the widget. THIS OVERRIDES ANY SPACING OPTIONS ABOVE,
  78. // INCLUDING THE NOTIFICATION SUPPORT. Some examples include "0, 0", "25, 30", and "50, 50".
  79. // Default is "auto, auto" (disables this option).
  80. var xy = "auto, auto";
  81.  
  82. // Change the scale (size) as a multiplier of the widget. Default is 1.
  83. // Note: This is a bit buggy, and it will look strange / big if you go past 2.
  84. var scale = 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement