Advertisement
corrosiontears

Kweezy - Conky 1 - Original

Aug 5th, 2013
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.56 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_transparent yes
  16. own_window_type normal
  17. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  18. own_window_argb_visual yes
  19. background no
  20.  
  21. # Use double buffering (reduces flicker, may not work for everyone)
  22. double_buffer yes
  23.  
  24. # fiddle with window
  25. use_spacer none
  26. use_xft yes
  27. xftfont Ubuntu:size=8
  28. xftalpha 0.8
  29.  
  30. # Update interval in seconds
  31. update_interval 1.0
  32.  
  33. # Draw shades?
  34. draw_shades no
  35.  
  36. # Text stuff
  37. draw_outline no # amplifies text if yes
  38. draw_borders no
  39.  
  40. uppercase no # set to yes if you want all text to be in uppercase
  41.  
  42. # Stippled borders?
  43. stippled_borders 8
  44.  
  45. # border margins
  46. border_inner_margin 20
  47.  
  48. # border width
  49. border_width 1
  50.  
  51. # Default colors and also border colors, grey90 == #e5e5e5
  52. default_color lightgrey
  53. default_shade_color black
  54. default_outline_color white
  55.  
  56.  
  57. # Text alignment, other possible values are commented
  58. alignment top_left
  59. alignment top_right
  60. #alignment bottom_left
  61. #alignment bottom_right
  62.  
  63. # Gap between borders of screen and text
  64. gap_x 50
  65. gap_y 5
  66.  
  67. # stuff after 'TEXT' will be formatted on screen
  68.  
  69. override_utf8_locale no
  70.  
  71. TEXT
  72. ${color #F80043}Hostname:   ${color}$nodename
  73. ${color #F80043}System:     ${color }${exec lsb_release -d |  awk '{print $2,$3,$4}'}
  74. ${color #F80043}Uptime:     ${color }$uptime
  75. ${color #F80043}CPU Temp:   ${color }${hwmon temp 1} Celcius
  76. ${color #F80043}CPU Usage:  ${color }${cpu cpu0}%
  77. ${cpugraph 20,130 000000 ffffff}
  78. ${color #F80043}Load:       ${color }$loadavg
  79. ${color #F80043}Processes:  ${color }$processes  
  80. ${color #F80043}Running:    ${color }$running_processes
  81.  
  82. ${color #F80043}Highest CPU (%):
  83. ${color #ddaa00} ${top name 1}${top cpu 1}
  84. ${color } ${top name 2}${top cpu 2}
  85. ${color } ${top name 3}${top cpu 3}
  86. ${color } ${top name 4}${top cpu 4}
  87.  
  88. ${color #F80043}Highest MEM (%):
  89. ${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
  90. ${color } ${top_mem name 2}${top_mem mem 2}
  91. ${color } ${top_mem name 3}${top_mem mem 3}
  92. ${color } ${top_mem name 4}${top_mem mem 4}
  93.  
  94. ${color #F80043}MEM:  ${color }$memperc% ($mem/$memmax)
  95. ${color white}${membar 5,150}
  96. ${color #F80043}SWAP: ${color }$swapperc% ($swap/$swapmax)
  97. ${color white}${swapbar 5,150}
  98. ${color #F80043}ROOT: ${color }${fs_free_perc /}% (${fs_free /}/${fs_size /})
  99. ${color white}${fs_bar 5,150 /}
  100. ${color #F80043}HOME: ${color }${fs_free_perc /home}% (${fs_free /home}/${fs_size /home})
  101. ${color white}${fs_bar 5,150 /home}
  102.  
  103. ${color #F80043}NET:
  104. ${if_existing /sys/class/net/eth0/operstate up}${color #F80043} IP (eth0): ${color }${execi 60 /sbin/ifconfig eth0 | grep "inet addr:" | cut -d : -f 2 | awk '{print $1}'}
  105. ${color #F80043} Upload: ${color }${upspeed eth0}/s
  106. ${upspeedgraph eth0 20,150 000000 ffffff}
  107. ${color #F80043} Download: ${color }${downspeed eth0}/s
  108. ${downspeedgraph eth0 20,150 000000 ffffff}
  109. ${else}${if_existing /sys/class/net/wlan0/operstate up}${color #F80043} IP (wlan0): ${color }${execi 60 /sbin/ifconfig wlan0 | grep "inet addr:" | cut -d : -f 2 | awk '{print $1}'}
  110. ${color #F80043} Upload: ${color }${upspeed wlan0}/s
  111. ${upspeedgraph wlan0 20,150 000000 ffffff}
  112. ${color #F80043} Download: ${color }${downspeed wlan0}/s
  113. ${downspeedgraph wlan0 20,150 000000 ffffff}
  114. ${endif}${endif}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement