Guest User

Untitled

a guest
Jun 11th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.88 KB | None | 0 0
  1. -- vim: ts=4 sw=4 noet ai cindent syntax=lua
  2. --[[
  3. Conky, a system monitor, based on torsmo
  4.  
  5. Any original torsmo code is licensed under the BSD license
  6.  
  7. All code written since the fork of torsmo is licensed under the GPL
  8.  
  9. Please see COPYING for details
  10.  
  11. Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
  12. Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
  13. All rights reserved.
  14.  
  15. This program is free software: you can redistribute it and/or modify
  16. it under the terms of the GNU General Public License as published by
  17. the Free Software Foundation, either version 3 of the License, or
  18. (at your option) any later version.
  19.  
  20. This program is distributed in the hope that it will be useful,
  21. but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  23. GNU General Public License for more details.
  24. You should have received a copy of the GNU General Public License
  25. along with this program.  If not, see <http://www.gnu.org/licenses/>.
  26. ]]
  27.  
  28. conky.config = {
  29.     alignment = 'top_left',
  30.     background = false,
  31.     border_width = 1,
  32.     cpu_avg_samples = 2,
  33.     default_color = 'white',
  34.     default_outline_color = 'white',
  35.     default_shade_color = 'white',
  36.     draw_borders = false,
  37.     draw_graph_borders = true,
  38.     draw_outline = false,
  39.     draw_shades = false,
  40.     use_xft = true,
  41.     font = 'DejaVu Sans Mono:size=12',
  42.     gap_x = 5,
  43.     gap_y = 60,
  44.     minimum_height = 5,
  45.     minimum_width = 5,
  46.     net_avg_samples = 2,
  47.     no_buffers = true,
  48.     out_to_console = false,
  49.     out_to_stderr = false,
  50.     extra_newline = false,
  51.     own_window = true,
  52.     own_window_class = 'Conky',
  53.     own_window_type = 'desktop',
  54.     stippled_borders = 0,
  55.     update_interval = 1.0,
  56.     uppercase = false,
  57.     use_spacer = 'none',
  58.     show_graph_scale = false,
  59.     show_graph_range = false
  60. }
  61.  
  62. conky.text = [[
  63. ${scroll 16 $nodename - $sysname $kernel on $machine | }
  64. $hr
  65. ${color grey}Uptime:$color $uptime
  66. ${color grey}Frequency (in MHz):$color $freq
  67. ${color grey}Frequency (in GHz):$color $freq_g
  68. ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
  69. ${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
  70. ${color grey}CPU Usage:$color $cpu% ${cpubar 4}
  71. ${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
  72. $hr
  73. ${color grey}File systems:
  74.  / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
  75. ${color grey}Networking:
  76. Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
  77. $hr
  78. ${color grey}Name              PID   CPU%   MEM%
  79. ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
  80. ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
  81. ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
  82. ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
  83. ]]
Add Comment
Please, Sign In to add comment