smooth-conky 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. # Use Xft?
  2. use_xft yes
  3. xftfont DejaVu Sans:size=8
  4. xftalpha 0.8
  5. text_buffer_size 2048
  6. # Update interval in seconds
  7. update_interval 1
  8. # This is the number of times Conky will update before quitting.
  9. # Set to zero to run forever.
  10. total_run_times 0
  11. # Create own window instead of using desktop (required in nautilus)
  12. own_window yes
  13. own_window_transparent yes
  14. own_window_type override
  15. own_window_hints undecorate,sticky,skip_taskbar,skip_pager
  16. # Use double buffering (reduces flicker, may not work for everyone)
  17. double_buffer yes
  18. # Minimum size of text area
  19. minimum_size 200 0
  20. #maximum_width 200
  21. # Draw shades?
  22. draw_shades no
  23. # Draw outlines?
  24. draw_outline no
  25. # Draw borders around text
  26. draw_borders no
  27. # Stippled borders?
  28. stippled_borders 0
  29. # border margins
  30. border_margin 5
  31. # border width
  32. border_width 1
  33. # Default colors and also border colors
  34. default_color D9D4CC
  35. #default_shade_color black
  36. #default_outline_color white
  37. own_window_colour white
  38. # Text alignment, other possible values are commented
  39. #alignment top_left
  40. alignment top_right
  41. #alignment bottom_left
  42. #alignment bottom_right
  43. # Gap between borders of screen and text
  44. # same thing as passing -x at command line
  45. gap_x 45
  46. gap_y 45
  47. # Subtract file system buffers from used memory?
  48. no_buffers yes
  49. # set to yes if you want all text to be in uppercase
  50. uppercase no
  51. # number of cpu samples to average
  52. # set to 1 to disable averaging
  53. cpu_avg_samples 1
  54. # number of net samples to average
  55. # set to 1 to disable averaging
  56. net_avg_samples 1
  57. # Force UTF8? note that UTF8 support required XFT
  58. override_utf8_locale yes
  59. # Add spaces to keep things from moving about? This only affects certain objects.
  60. use_spacer none
  61. TEXT
  62. ${font :size=10:style=bold}SYSTEM${font} ${hr 1}
  63. ${voffset 8}${font OpenLogos:size=16}${color 7B9494}u${color}${font} ${voffset -6}User: ${alignr 20}${exec users | cut -d " " -f1}@${nodename}
  64. ${voffset 3} Release: ${alignr 20}${pre_exec lsb_release -r -s} (${pre_exec lsb_release -c -s})
  65. ${voffset 3} Kernel: ${alignr 20}${kernel}
  66. ${voffset 3} Updates: ${alignr 20}${execi 28800 ~/.conky/scripts/OSUpdate} available
  67. ${voffset 8}${font StyleBats:size=16}${color 7B9494}A${color}${font} ${voffset -5}CPU1: ${cpu cpu1}% / ${color 7B9494}${exec sensors | grep "Core0" | cut -d "+" -f2 | cut -c1-6}C${color}${alignr}${color 7B9494}${cpubar cpu1 8,60}${color}
  68. #${font StyleBats:size=16}${color 7B9494}A${color}${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
  69. ${voffset 5}${font StyleBats:size=16}${color 7B9494}g${color}${font} ${voffset -5}RAM: $memperc% ${alignr}${color 7B9494}${membar 8,60}${color}
  70. ${voffset 5}${font StyleBats:size=16}${color 7B9494}j${color}${font} ${voffset -5}SWAP: $swapperc% ${alignr}${color 7B9494}${swapbar 8,60}${color}
  71. ${voffset 5}${font Webdings:size=16}${color 7B9494}~${color}${font} ${voffset -5}Battery: ${battery_percent BAT1}% ${alignr}${color 7B9494}${battery_bar 8,60 BAT1}${color}
  72. ${voffset 5}${font StyleBats:size=16}${color 7B9494}q${color}${font} ${voffset -5}Uptime: ${alignr}${uptime}
  73. ${voffset 5}${font StyleBats:size=16}${color 7B9494}k${color}${font} ${voffset -5}Processes: ${alignr}$processes ($running_processes running)
  74. ${voffset 10}${font :size=10:style=bold}FILE SYSTEM${font} ${hr 1}
  75. ${voffset 8} ${color 7B9494}${font Weather:size=17}yz${font}${color} ${voffset -4}Temperatur: ${color 7B9494}${hddtemp /dev/sda}°C${color}${alignr}/dev/sda
  76. ${voffset 8}${font Poky:size=15}${color 7B9494}y${color}${font}${offset 6}${voffset -7}Root: ${font Liberation Sans:size=8}${color 7B9494}${fs_used_perc /}%${font}${color}
  77. ${color 7B9494}${voffset 2}${fs_bar 4,20 /}${offset 8}${voffset -2}${color}Free: ${fs_free /}${alignr}Used: ${fs_used /}
  78. ${voffset 8}${font Poky:size=15}${color 7B9494}y${color}${font}${offset 6}${voffset -7}Home: ${font Liberation Sans:size=8}${color 7B9494}${fs_used_perc /home}%${font}${color}
  79. ${color 7B9494}${voffset 2}${fs_bar 4,20 /home}${offset 8}${voffset -2}${color}Free: ${fs_free /home}${alignr}Used: ${fs_used /home}
  80. ${voffset 8}${font :size=10:style=bold}NETWORK${font} ${hr 1}
  81. ${if_existing /proc/net/route wlan0}
  82. ${voffset 2}${color 7B9494}${voffset -6}${font PizzaDude Bullets:size=14}O${color}${font} ${voffset -2}Up: ${upspeed wlan0} kb/s ${alignr}${color 7B9494}${upspeedgraph wlan0 8,60}${color}
  83. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}U${color}${font} ${voffset -2}Down: ${downspeed wlan0} kb/s ${alignr}${color 7B9494}${downspeedgraph wlan0 8,60}${color}
  84. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}N${color}${font} ${voffset -2}Upload: ${alignr}${totalup wlan0}
  85. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}T${color}${font} ${voffset -2}Download: ${alignr}${totaldown wlan0}
  86. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}Z${color}${font} ${voffset -2}Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
  87. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}a${color}${font} ${voffset -2}Local Ip: ${alignr}${addr wlan0}
  88. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}b${color}${font} ${voffset -2}Public Ip: ${alignr}${execi 1 ~/.conky/scripts/ip.sh}
  89. ${else}${if_existing /proc/net/route eth0}
  90. ${voffset 2}${color 7B9494}${voffset -6}${font PizzaDude Bullets:size=14}O${color}${font} ${voffset -2}Up: ${upspeed eth0} kb/s ${alignr}${color 7B9494}${upspeedgraph eth0 8,60}${color}
  91. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}U${color}${font} ${voffset -2}Down: ${downspeed eth0} kb/s ${alignr}${color 7B9494}${downspeedgraph eth0 8,60}${color}
  92. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}N${color}${font} ${voffset -2}Upload: ${alignr}${totalup eth0}
  93. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}T${color}${font} ${voffset -2}Download: ${alignr}${totaldown eth0}
  94. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}a${color}${font} ${voffset -2}Local Ip: ${alignr}${addr eth0}
  95. ${voffset 2}${color 7B9494}${voffset 4}${font PizzaDude Bullets:size=14}b${color}${font} ${voffset -2}Public Ip: ${alignr}${execi 1 ~/Conky/scripts/ip.sh}
  96. ${endif}${else}
  97. ${font PizzaDude Bullets:size=14}4${font} Network Unavailable
  98. ${endif}