Advertisement
Guest User

conkyrc

a guest
Sep 20th, 2011
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.63 KB | None | 0 0
  1. # UBUNTU-CONKY
  2. # A comprehensive conky script, configured for use on
  3. # Ubuntu / Debian Gnome, without the need for any external scripts.
  4. #
  5. # Based on conky-jc and the default .conkyrc.
  6. # INCLUDES:
  7. # - tail of /var/log/messages
  8. # - netstat connections to your computer
  9. #
  10. # -- Pengo (conky@pengo.us)
  11. #
  12.  
  13. # Create own window instead of using desktop (required in nautilus)
  14. own_window yes
  15. own_window_type override
  16. own_window_transparent yes
  17. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  18. background no #Transparent background.
  19.  
  20. # Use double buffering (reduces flicker, may not work for everyone)
  21. double_buffer yes
  22.  
  23. # fiddle with window
  24. use_spacer right
  25. use_xft yes
  26.  
  27. # Update interval in seconds
  28. update_interval 1
  29.  
  30. # Minimum size of text area
  31. minimum_size 260 5
  32.  
  33. # Draw shades?
  34. draw_shades no
  35.  
  36. # Draw borders around graphs
  37. draw_graph_borders no
  38.  
  39. # Text stuff
  40. draw_outline no # amplifies text if yes
  41. draw_borders no
  42. xftfont Eurostile:size=10
  43. xftalpha 0.7
  44. #font arial
  45. uppercase no # set to yes if you want all text to be in uppercase
  46.  
  47. # Stippled borders?
  48. stippled_borders 3
  49.  
  50. # border margins
  51. border_margin 9
  52.  
  53. # border width
  54. border_width 10
  55.  
  56. # Default colors and also border colors, grey90 == #e5e5e5
  57. default_color grey
  58.  
  59. own_window_colour brown
  60. own_window_transparent yes
  61.  
  62. # Text alignment, other possible values are commented
  63. #alignment top_left
  64. alignment top_right
  65. #alignment bottom_left
  66. #alignment bottom_right
  67.  
  68. # Gap between borders of screen and text
  69. gap_x 30
  70. gap_y 80
  71.  
  72. # stuff after 'TEXT' will be formatted on screen
  73.  
  74. TEXT
  75. ${font arial black:size=18}${color orange}$nodename
  76. ${font arial black:size=12}${color orange}SYSTEM${color}${font arial black:size=11}INFORMATION${color orange} ${hr 2}$color$font
  77. $sysname  $kernel on $machine
  78. ${font arial black:size=9}UP: $font$uptime
  79. ${font arial black:size=9}LOAD: $font$color $loadavg
  80. ${font arial black:size=9}USAGE (AVG): $font${cpu cpu0}%
  81. ${cpugraph}
  82. ${font arial black:size=12}${color orange}MEMORY${color}${font arial black:size=11}INFORMATION${color orange} ${hr 2}$color$font
  83. ${font arial black:size=9}RAM: $font$memperc% ${alignr}$mem
  84. ${membar 4}
  85. ${font arial black:size=9}SWAP: $font$swapperc% ${alignr}$swap
  86. ${swapbar 4}
  87. ${font arial black:size=12}${color orange}DISK${color}${font arial black:size=11}INFORMATION${color orange} ${hr 2}$color$font
  88. ${font arial black:size=9}VOLUME${goto 116}TYPE${goto 180}%FREE${alignr 1}FREE$font
  89. ${font arial black:size=9}ROOT:$font${goto 120}${fs_type /}${goto 190}${fs_free_perc /}%${alignr}${fs_free /}
  90. ${fs_bar 4 /}$color
  91. ${font arial black:size=9}OPT:$font${goto 120}${fs_type /opt}${goto 190}${fs_free_perc /opt}%${alignr}${fs_free /opt}
  92. ${fs_bar 4 /opt}$color
  93. ${font arial black:size=9}HOME:$font${goto 120}${fs_type /home}${goto 190}${fs_free_perc /home}%${alignr}${fs_free /home}
  94. ${fs_bar 4 /home}$color
  95. ${font arial black:size=12}${color orange}NETWORK${color}${font arial black:size=11}INFORMATION${color orange} ${hr 2}$color$font
  96. ${font arial black:size=9}LOCAL:$font${addr eth0} $alignr ${color} ${font arial black:size=9}${color}
  97. ${font arial black:size=9}DOWN: $font$color${downspeed eth0} k/s ${alignr}${font arial black:size=9}UP: $font${upspeed eth0} k/s
  98. ${downspeedgraph eth0 25,140} ${alignr}${upspeedgraph eth0
  99. 25,140}$color
  100. ${font arial black:size=9}TOTAL: $font${totaldown eth0} ${alignr}${font arial black:size=9}TOTAL: $font${totalup eth0}
  101. ${font arial black:size=9}INBOUND: $font${tcp_portmon 1 32767 count} ${font arial black:size=9}OUTBOUND: $font${tcp_portmon 32768
  102. 61000 count}${alignr}${font arial black:size=9}TOTAL: $font${tcp_portmon 1 65535 count}
  103. ${color orange}${hr 2}$color
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement