| Customization / Skins & Themes / Linux and Unix Utilities / Applications / conky | ©2012-2013 ~1inux |
The Journal Portal
Browse Journals |
Polls |
deviantART [dee·vee·un'nt·ART]
Keep in Touch!
|
Deviousness |
pkill conky
conky -c ~/.conky_ns
How do you change the colour of the clock hands and the hour marks? I'm not very familiar with lua.
- .crings_ns.lua --> clock_colour=0x000000
clock_alpha=0.5
- .mark_ns.lua --> graduation_fg_colour=0x000000,
graduation_fg_alpha=0.6,
change 000000 to the desired color code
alpha means transparency on a scale of 0 to 1.
.marks_ns.lua --> change 'graduation_radius=120,' to something like 100 or 60 (depending on how small you want it.) This will change how close or far the clock tick marks are.
.crings_ns.lua --> this one is a little complicated..
Hour hand ---> xh=xc+0.7*clock_r*math.sin(hours_arc)
yh=yc-0.7*clock_r*math.cos(hours_arc)
change 0.7 to a smaller number (o.5)
Minute hand --> xm=xc+clock_r*math.sin(mins_arc)
ym=yc-clock_r*math.cos(mins_arc)
insert a number (like 0.5 or 0.7) between + or - and 'clock'
Second hand --> xs=xc+clock_r*math.sin(secs_arc)
ys=yc-clock_r*math.cos(secs_arc)
insert a number (like 0.5 or 0.7) between + or - and 'clock'
Let me know if it doesnt work, and i will upload a modified .lua script.