Guest User

Untitled

a guest
Jun 25th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. conky.config = {
  2.  
  3. update_interval = 0.25,
  4. update_interval_on_battery = 0.25,
  5. alignment = "top_left",
  6. background = true,
  7. border_inner_margin = 10,
  8. border_width = 0,
  9. cpu_avg_samples = 1,
  10. double_buffer = true,
  11. use_xft = true,
  12. font = "Source Code Pro:size=10",
  13. format_human_readable = true,
  14. gap_x = 15,
  15. gap_y = 15,
  16. minimum_height = 5,
  17. minimum_width = 5,
  18. net_avg_samples = 1,
  19. own_window = true,
  20. own_window_class = "conky",
  21. own_window_type = "desktop",
  22. own_window_argb_visual = true,
  23. own_window_argb_value = 80,
  24. temperature_unit = "celsius",
  25. xinerama_head = 0
  26. };
  27.  
  28. conky.text = [[
  29. ${uid_name 1000}@$nodename at ${texeci 0.5 getTime}
  30. ${color #55FF55}${hr 2}${color}
  31. CPU Usage: ${color yellow}$cpu%${color}
  32. ${cpubar 8,325}
  33. RAM Usage: ${color yellow}$mem / $memmax${color}
  34. ${membar 8}
  35. ${color #55FF55}${hr 2}${color}
  36. Disk I/O Operations:
  37. Writes: ${color yellow}${diskio_write /dev/disk/by-uuid/52101597-0993-49e7-97f5-e25f41d062ef}${color}
  38. Reads: ${color yellow}${diskio_read /dev/disk/by-uuid/52101597-0993-49e7-97f5-e25f41d062ef}${color}
  39.  
  40. File systems:
  41. / ${color yellow}${fs_used /} / ${fs_size /}${color}
  42. /tmp ${color yellow}${fs_used /tmp} / ${fs_size /tmp}${color}
  43. ${color #55FF55}${hr 2}${color}
  44. Networking:${if_gw}${if_up wlan0}
  45. wlan0: ${color yellow}${addr wlan0}${color}
  46. gateway: ${color yellow}${gw_ip}${color}
  47. nameserver: ${color yellow}${nameserver 0}${color}
  48.  
  49. Speeds:
  50. Down: ${color yellow}${downspeed wlan0}${color}
  51. Up: ${color yellow}${upspeed wlan0}${color}
  52.  
  53. Wireless Info:
  54. ESSID: ${wireless_essid}
  55. Channel: ${wireless_channel wlan0}
  56. Bitrate: ${wireless_bitrate wlan0}
  57. Frequency: ${wireless_freq wlan0}
  58. Mode: ${wireless_mode wlan0}
  59. Quality Signal: ${wireless_link_bar 8,120 wlan0} ${wireless_link_qual_perc wlan0}%
  60. ${else}${if_up eth0}
  61. eth0: ${color yellow}${addr eth0}${color}
  62. gateway: ${color yellow}${gw_ip}${color}
  63. nameserver: ${color yellow}${nameserver 0,1}${color}
  64.  
  65. Speeds:
  66. Down: ${color yellow}${downspeed eth0}${color}
  67. Up: ${color yellow}${upspeed eth0}${color}${else}No IP in any interface!${endif}${endif}${else} Look your interfaces!${endif}
  68. ${color #55FF55}${hr 2}${color}
  69. Battery: ${if_existing /sys/class/power_supply/BAT0}
  70. Status: ${color yellow}${texeci 10 batStatus}${color}
  71. Capacity: ${color yellow}${texeci 10 batCapacity}%${color}${else}${if_existing /sys/class/power_supply/BAT1}
  72. Status: ${color yellow}${texeci 10 batStatus}${color}
  73. Capacity: ${color yellow}${texeci 10 batCapacity}%${color}${else}Battery not present${endif}${endif}
  74. ${color #55FF55}${hr 2}${color}
  75. Volume: ${execbar 8,200 getVol} ${exec getVol}%
  76. ${color #55FF55}${hr 2}${color}
  77. Pacman Updates: ${texeci 1800 pacUpdates}]]
Add Comment
Please, Sign In to add comment