NoPaste

conkyrc

von Anonymous

SNIPPET_TEXT:
  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 normal
  16. own_window_transparent yes
  17. own_window_hints #undecorated,below,sticky,skip_taskbar,skip_pager
  18.  
  19. # Use double buffering (reduces flicker, may not work for everyone)
  20. double_buffer yes
  21.  
  22. # fiddle with window
  23. use_spacer yes
  24. use_xft yes
  25.  
  26. # Update interval in seconds
  27. update_interval 10.0
  28.  
  29. # Minimum size of text area
  30. # minimum_size 250 5
  31.  
  32. # Draw shades?
  33. draw_shades yes
  34.  
  35. # Text stuff
  36. draw_outline no # amplifies text if yes
  37. draw_borders no
  38. use_xft yes
  39. xftfont Samanata
  40. uppercase no # set to yes if you want all text to be in uppercase
  41.  
  42. # Stippled borders?
  43. # stippled_borders 3
  44.  
  45. # border margins
  46. border_margin 9
  47.  
  48. # border width
  49. border_width 5
  50.  
  51. # Default colors and also border colors, grey90 == #e5e5e5
  52. default_color ace770
  53.  
  54. own_window_colour  black
  55.  
  56. # Text alignment, other possible values are commented
  57. alignment top_left
  58. #alignment top_right
  59. #alignment bottom_left
  60. #alignment bottom_right
  61.  
  62. # Gap between borders of screen and text
  63. gap_x 10
  64. gap_y 10
  65.  
  66.  
  67. ${color blue}FORTUNE ${hr 2}$color
  68. ${execi 120 fortune -s | fold -w50}
  69.  
  70.  
  71. ${color blue}LOGGING ${hr 2}$color
  72. ${execi 30 tail -n3 /var/log/messages | fold -w50}
  73.  
  74.  
  75.  
  76. # stuff after 'TEXT' will be formatted on screen
  77.  
  78. TEXT
  79. $color
  80. ${color #5397d6}SYSTEM ${hr 2}$color
  81. $nodename $sysname $kernel on $machine
  82. Uptime: ${uptime}
  83.  
  84. ${color #5397d6}CPU ${hr 2}$color
  85. ${freq}MHz   Load: ${loadavg}   Temp: ${acpitemp}
  86. $cpubar
  87. ${cpugraph 000000 ffffff}
  88. NAME             PID       CPU%      MEM%
  89. ${top name 1} ${top pid 1}   ${top cpu 1}    ${top mem 1}
  90. ${top name 2} ${top pid 2}   ${top cpu 2}    ${top mem 2}
  91. ${top name 3} ${top pid 3}   ${top cpu 3}    ${top mem 3}
  92. ${top name 4} ${top pid 4}   ${top cpu 4}    ${top mem 4}
  93.  
  94. ${color #5397d6}MEMORY / DISK ${hr 2}
  95. $color
  96. RAM:   $mem   ${membar 6}$color
  97. Swap:  $swap   ${swapbar 6}$color
  98.  
  99. Harddisk:
  100. /       ${fs_free /}                                                            ${fs_bar 6 /}$color
  101. /home   ${fs_free /home}                                ${fs_bar 6 /home}$color
  102.  
  103. ${color #5397d6}NETWORK (${addr eth0}) ${hr 2}$color
  104. Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
  105. ${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
  106. 25,140 000000 00ff00}$color
  107. Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN