daily pastebin goal
31%
SHARE
TWEET

Clock

Corvust Nov 16th, 2018 (edited) 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Rainmeter]
  2. AccurateText=1
  3. DefaultUpdateDivider=-1
  4.  
  5. [Variables]
  6. Size=120
  7. SkinHeight=#Size#
  8. SkinWidth=(80*#Size#/30)
  9.  
  10. Pink=254,199,205
  11. White=255,255,255
  12. Grey=64,64,64
  13.  
  14. Font=Roboto Mono
  15.  
  16. [M_Time_Minute]
  17. Measure=Time
  18.     Format=%M
  19. UpdateDivider=10
  20. OnChangeAction=[!UpdateMeasure M_Time_Hour][!UpdateMeter Clock_Display]
  21.  
  22. [M_Time_Hour]
  23. Measure=Time
  24.     Format=%H
  25. UpdateDivider=60
  26. OnChangeAction=[!UpdateMeter Clock_Display]
  27.  
  28. [Background]
  29. Meter=Shape
  30.     Shape=Rectangle 0,0,#SkinWidth#,#SkinHeight# | StrokeWidth 0 | Fill Color #Pink#
  31.     Shape2=Rectangle (2*#Size#/60),(2*#Size#/60),(#SkinWidth#-(4*#Size#/60)),(#SkinHeight#-(4*#Size#/60)) | StrokeWidth 0 | Fill Color #White#
  32.  
  33. [Clock_Icon]
  34. MeterStyle=Style_RightTaskbarIcon
  35. Meter=Shape
  36. x=#SkinWidth#*0.055
  37.     Shape=Ellipse (#Size#/2),(#Size#/2),(#Size#*0.27) | StrokeWidth 0 | Extend FillColour
  38.     Shape2=Ellipse (#Size#*0.5),(#Size#*0.5),(#Size#*0.23)
  39.     Shape3=Combine Shape | Exclude Shape2
  40.     Shape4=Rectangle (#Size#*0.48),(#Size#*0.48),(#Size#*0.20),(#Size#*0.04),(#Size#*0.02) | StrokeWidth 0 | Extend FillColour | Rotate (-90+([M_Time_Minute]/60)),(#Size#*0.02),(#Size#*0.02)
  41.     Shape5=Rectangle (#Size#*0.48),(#Size#*0.48),(#Size#*0.13),(#Size#*0.04),(#Size#*0.02) | StrokeWidth 0 | Extend FillColour | Rotate (-90+(((([M_Time_Hour]%12)*60)+[M_Time_Minute])/2)),(#Size#*0.02),(#Size#*0.02)
  42.         FillColour=Fill Color #Pink#
  43. DynamicVariables=1
  44.  
  45. [Clock_Display]
  46. Meter=String
  47.     MeasureName=M_Time_Hour
  48.     MeasureName2=M_Time_Minute
  49.     x=(#SkinWidth#*0.42)
  50.     y=(#SkinHeight#*0.50)
  51.     h=(#Size#*0.32)
  52.     Text=%1:%2
  53.         FontFace=#Font#
  54.         FontColor=#Grey#
  55.         FontSize=(0.27*#Size#)
  56.         StringAlign=LeftCenter
  57. DynamicVariables=1
  58. AntiAlias=1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top