Yukiteru

Conky Script with Calendar

Apr 15th, 2011
920
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. # Use Xft?
  2. use_xft yes
  3. xftfont DejaVu Sans:size=8
  4. xftalpha 0.8
  5. text_buffer_size 2048
  6. color0 FFFFFF
  7. color1 FFFFFF
  8. color2 FFFFFF
  9.  
  10. # Update interval in seconds
  11. update_interval 1
  12.  
  13. # This is the number of times Conky will update before quitting.
  14. # Set to zero to run forever.
  15. total_run_times 0
  16.  
  17. # Create own window instead of using desktop (required in nautilus)
  18. own_window yes
  19. own_window_transparent yes
  20. own_window_type normal
  21. own_window_hints undecorated,sticky,skip_taskbar,skip_pager
  22.  
  23. # Use double buffering (reduces flicker, may not work for everyone)
  24. double_buffer yes
  25.  
  26. # Minimum size of text area
  27. minimum_size 100
  28. maximum_width 200
  29.  
  30. # Draw shades?
  31. draw_shades no
  32.  
  33. # Draw outlines?
  34. draw_outline no
  35.  
  36. # Draw borders around text
  37. draw_borders no
  38.  
  39. # Stippled borders?
  40. stippled_borders 0
  41.  
  42. # border margins
  43. border_margin 0
  44.  
  45. # border width
  46. border_width 0
  47.  
  48. # Default colors and also border colors
  49. default_color white
  50. #default_shade_color black
  51. #default_outline_color white
  52. #own_window_colour white
  53.  
  54. # Text alignment, other possible values are commented
  55. #alignment top_left
  56. alignment top_right
  57. #alignment bottom_left
  58. #alignment bottom_right
  59.  
  60. # Gap between borders of screen and text
  61. # same thing as passing -x at command line
  62. gap_x 10
  63. gap_y 20
  64.  
  65. # Subtract file system buffers from used memory?
  66. no_buffers no
  67.  
  68. # set to yes if you want all text to be in uppercase
  69. uppercase no
  70.  
  71. # number of cpu samples to average
  72. # set to 1 to disable averaging
  73. cpu_avg_samples 2
  74.  
  75. # number of net samples to average
  76. # set to 1 to disable averaging
  77. net_avg_samples 2
  78.  
  79. # Force UTF8? note that UTF8 support required XFT
  80. override_utf8_locale yes
  81.  
  82. # Add spaces to keep things from moving about? This only affects certain objects.
  83. use_spacer none
  84.  
  85. TEXT
  86. $alignc ${exec /usr/bin/whoami} @ $nodename
  87. ${hr 2}
  88. ${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
  89. ${alignc}${time %A %d.%m.%Y}
  90.  
  91. ${voffset 2}${font DejaVu Sans:size=10} SISTEMA ${hr 2}
  92. ${voffset 3}${font OpenLogos:size=18}t${font} Kernel: ${alignr}${kernel}
  93. ${font StyleBats:size=18}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
  94. ${font StyleBats:size=18}A${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
  95. ${font StyleBats:size=18}k${font} RAM: $memperc% ${alignr}${membar 8,60}
  96. ${font Webdings:size=18}q${font} SWAP: $swapperc% ${alignr}${swapbar 8,60}
  97. ${font Webdings:size=18}a${font} Up time: ${alignr}${uptime}
  98.  
  99. ${voffset 2}${font DejaVu Sans:size=10} HD ${hr 2}
  100. ${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Root: $alignr ${fs_used_perc /}%
  101. ${voffset 4}${fs_used /} / ${fs_size /} ${alignr}${fs_bar 8,60 /}
  102.  
  103. ${font Pie charts for maps:size=14}7${font} ${voffset -5}Home: $alignr ${fs_used_perc /home}%
  104. ${voffset 4}${fs_used /home} / ${fs_size /home} ${alignr}${fs_bar 8,60 /home}
  105.  
  106. ${font Pie charts for maps:size=14}7${font} ${voffset -5}Personal: $alignr ${fs_used_perc /media/Personal}%
  107. ${voffset 4}${fs_used /media/Personal} / ${fs_size /media/Personal} ${alignr}${fs_bar 8,60 /media/Personal}
  108.  
  109.  
  110. ${voffset 2}${font DejaVu Sans:size=10} REDES ${hr 2}
  111. ${voffset 4}${font StyleBats:size=14}p${font} Ip Local: ${alignr}${execi 600 /usr/bin/wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
  112. ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${downspeed eth0} kb/s
  113. ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Downloaded: ${alignr}${totaldown eth0}
  114.  
  115.  
  116. ${voffset 2}${font DejaVu Sans:size=10} CALENDARIO ${hr 2}
  117.  
  118. ${font DejaVu Sans:pixelsize=10}${alignc}${execi 60 date +"%B %Y" | tr "[:lower:]" "[:upper:]"}${font Snap.se:size=8 }${font}
  119. ${font DejaVu Sans Mono:size=10}${execpi 60 cal | sed '1d' | sed '3d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed 's/^/${alignc} /'}${font}
  120. ${font DejaVu Sans Mono:size=10}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color1}'"$DJS"'${color2}'" "/}${font}
  121. ${hr 2}
Advertisement
Add Comment
Please, Sign In to add comment