SHARE
TWEET

Conky

a guest Mar 6th, 2018 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -----------------------------------------------------------------------------
  2.  
  3. -- Modified by I-20, inspired by the work of satya164 - Conky Metro Clock.
  4. -- Disable ipv6 and change the 'tun0' interface if you are using another one.
  5.  
  6. -- Conky Capture: https://postimg.org/image/w3yamlsbf/ - License: GPL
  7.  
  8. -----------------------------------------------------------------------------
  9.  
  10. conky.config = {
  11. use_xft = true,
  12. xftalpha = 0.8,
  13. background = true,
  14.  
  15. -- Update interval in seconds
  16. update_interval = 1,
  17. own_window_argb_visual = true,
  18. -- This is the number of times Conky will update before quitting.
  19. -- Set to zero to run forever.
  20. total_run_times = 0,
  21.  
  22. -- Create own window instead of using desktop (required in nautilus)
  23. own_window = true,
  24. own_window_transparent = true,
  25. own_window_type = 'normal',
  26. own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  27.  
  28. -- Use double buffering (reduces flicker, may not work for everyone)
  29. double_buffer = true,
  30.  
  31. -- Draw shades?
  32. draw_shades = false,
  33.  
  34. -- Draw outlines?
  35. draw_outline = false,
  36.  
  37. -- Draw borders around text
  38. draw_borders = false,
  39.  
  40. -- Stippled borders?
  41. --stippled_borders = 0,
  42.  
  43. -- border width
  44. --border_width = 1,
  45.  
  46.  
  47. -- Subtract file system buffers from used memory?
  48. no_buffers = true,
  49.  
  50. -- set to yes if you want all text to be in uppercase
  51. uppercase = false,
  52.  
  53. -- number of cpu samples to average
  54. -- set to 1 to disable averaging
  55. cpu_avg_samples = 1,
  56.  
  57. -- number of net samples to average
  58. -- set to 1 to disable averaging
  59. net_avg_samples = 2,
  60.  
  61. -- Force UTF8? note that UTF8 support required XFT
  62. override_utf8_locale = true,
  63.  
  64. -- Add spaces to keep things from moving about?  This only affects certain objects.
  65. use_spacer = 'none',
  66.  
  67. --alignment = bl,
  68. gap_x = 80,
  69. gap_y = 80,
  70.  
  71. --color1 = 'DA7132' --Orange,
  72. --color1 = '23BB2D' --Green,
  73. color1 = '1777FF' --Blue,
  74. }
  75.  
  76. conky.text = [[
  77. ${voffset 8}${font DejaVu Sans Bold:size=60}${color1}${time %H:%M %p}${font}${voffset -8}
  78. ${voffset 8}${font DejaVu Sans Bold:size=22}${color 50545F}${time %A} ${time %e} ${time %B}${font}${voffset -8}
  79. ${voffset 8}${font DejaVu Sans:size=11}${color C0C8CC}RM $mem/$memmax  $memperc%  -  HD ${fs_used /}/${fs_size /}${font}${voffset -8}
  80. ${voffset 8}${font DejaVu Sans:size=11}BATT ${battery_percent BAT0}%  UPT ${uptime_short}  -  CPU ${freq_g}GHz $cpu% ${hwmon 1 temp 1}°${font}${voffset -8}
  81. ${voffset 8}${font DejaVu Sans:size=11}IP ${execi 3600 wget -qO - https://icanhazip.com/ /dev/null | cut -d : -f 2 | cut -d \< -f 1}  -  DOWN ${downspeedf tun0}Ko/s UP ${upspeedf tun0}Ko/s${font}${voffset -8} ]]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top