-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
use_xft= true,
xftalpha= .1,
update_interval= 1,
total_run_times= 0,
background= true,
own_window= true,
own_window_type= 'desktop',
own_window_transparent= false,
own_window_hints= 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_colour= '000000',
own_window_argb_visual= true,
own_window_argb_value= 0,
double_buffer= true,
minimum_width= 400,
maximum_width= 400,
minimum_height= 10,
draw_shades= false,
draw_outline= false,
draw_borders= false,
draw_graph_borders= false,
default_color= 'FFFFFF',
default_shade_color= 'A9A9A9',
default_outline_color= 'A9A9A9',
color1 = 'A9A9A9',
color3 = 'A9A9A9',
alignment= 'top_right',
gap_x= 35,
gap_y= 50,
no_buffers= true,
text_buffer_size = 2048,
uppercase= false,
cpu_avg_samples= 4,
override_utf8_locale= true,
font= 'Ubuntu:style=medium:size=9'
}
conky.text = [[
#${image /etc/conky/u.png -s 20x20 -p 320,300}
${alignr}${font Ubuntu:style=Medium:pixelsize=20}${time %A %d %B %Y}
${alignr}${font Ubuntu:style=Medium:pixelsize=80}${time %H:%M}${font}
${goto 200}${font Ubuntu:style=Medium:pixelsize=14}Ram:$mem${alignr}Cpu:$cpu%
${goto 200}${memgraph 50, 100 000000 FFFFFF -l}${alignr}${cpugraph 50,100 000000 FFFFFF -l}
${goto 200}${font Ubuntu:style=Medium:pixelsize=14}Down:${downspeedf wlp2s0}${alignr}${alignr}UP:${downspeedf wlp2s0}
${goto 200}${downspeedgraph wlp2s0 50,100 000000 FFFFFF -l}${alignr}${upspeedgraph wlp2s0 50,100 000000 FFFFFF -l}
]]