clerkie

rainbow texture - conky

Apr 8th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.32 KB | None | 0 0
  1. How to use:
  2. sudo apt-get install conky
  3. Go to: /etc/conky
  4. (if root ignore this) open terminal inside the directory, run sudo pluma conky.conf
  5. Select all, paste code below, start conky.
  6.  
  7. ]]
  8.  
  9. conky.config = {
  10.     alignment = 'top_right',
  11.     background = true,
  12.     border_width = 1,
  13.     cpu_avg_samples = 2,
  14.     default_color = 'red',
  15.     default_outline_color = 'white',
  16.     default_shade_color = 'white',
  17.     draw_borders = false,
  18.     draw_graph_borders = false,
  19.     draw_outline = false,
  20.     draw_shades = false,
  21.     use_xft = true,
  22.     font = 'DejaVu Sans Mono:size=10',
  23.     gap_x = 5,
  24.     gap_y = 60,
  25.     minimum_height = 5,
  26.     minimum_width = 5,
  27.     net_avg_samples = 2,
  28.     no_buffers = true,
  29.     out_to_console = false,
  30.     out_to_stderr = false,
  31.     extra_newline = false,
  32.     own_window = false,
  33.     own_window_class = 'Conky',
  34.     own_window_type = 'desktop',
  35.     stippled_borders = 0,
  36.     update_interval = 1.0,
  37.     uppercase = false,
  38.     use_spacer = 'none',
  39.     show_graph_scale = true,
  40.     show_graph_range = true
  41. }
  42. conky.text = [[
  43. ${color rainbow}$nodename machine information
  44. $hr
  45. ${color green}Kernal: $kernel
  46. ${color yellow}Machine: $machine
  47. ${color blue}Date: $time
  48. ${color pink}Uptime:$color $uptime
  49. ${color purple}Frequency (in MHz):$color $freq
  50. ${color orange}Frequency (in GHz):$color $freq_g
  51. ${color aqua}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
  52. ${color yellow}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
  53. ${color green}CPU Usage:$color $cpu% ${cpubar 4}
  54. ${color blue}Processes:$color $processes  ${color grey}Running:$color $running_processes
  55. ${color rainbow}Memory Free: $memfree
  56. ${color orange}Memory Gauge: $memgauge
  57. ${color purple}HDD Temp: $hddtemp
  58. ${color yellow}Desktop: $desktop
  59. $hr
  60. ${color aqua}Name              PID   CPU%   MEM%
  61. ${color red} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
  62. ${color blue} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
  63. ${color green} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
  64. ${color green} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
  65. $hr
  66. ${color purple}Network data:
  67. ${color aqua}Computer IP: <ifconfig and add ip here>
  68. ${color yellow}Default Gateway: $gw_ip
  69. ${color rainbow}Wifi Interface: $gw_iface
  70. ${color orange}Address: $addrs
  71. $hr
  72. ${color blue}Battery: $battery_bar
  73.  
  74. ]]
Advertisement
Add Comment
Please, Sign In to add comment