Kvadeck
8/16/2017 - 12:12 PM

Мой конфиг для conky без всяких свистелок

Мой конфиг для conky без всяких свистелок

-- 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 = {
    alignment = 'middle_right',
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
      default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'Ubuntu:size=9',
    gap_x = 5,
    gap_y = 60,
    minimum_height = 5,
      minimum_width = 5,
    net_avg_samples = 2,
    update_interval= 3.0,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_transparent = true,
    own_window_class = 'Conky',
    own_window_type = 'override',
    stippled_borders = 0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false,
    double_buffer = true
}

conky.text = [[
${color white}$hr
${color green}Mint 18.1 on $kernel

    ${color grey}${time %a, } ${color }${time %e %B %G}

    ${color grey}Uptime:$color $uptime

    ${color grey}CPU Usage:$color $cpu%
    ${color grey}CPU Temp:$color ${acpitemp}°С$color
    ${color grey}GPU Temp:$color ${nvidia temp}°С$color

    ${color grey}RAM Usage:$color $mem/$memmax}

${color white}$hr
${color green}File systems:

${color grey}   Mint ${fs_used /}/${fs_size /}
${color lightgrey}${fs_bar 7 /}
${color grey}   Windows ${fs_used /media/Windows_/}/${fs_size /media/Windows_/}
${color lightgrey}${fs_bar 7 /media/Windows_/}
${color grey}   Internal ${fs_used /media/Internal/}/${fs_size /media/Internal/}
${color lightgrey}${fs_bar 7 /media/Internal/}
${color grey}   Storage ${fs_used /media/Storage/}/${fs_size /media/Storage/}
${color lightgrey}${fs_bar 7 /media/Storage/}
${color grey}   Work ${fs_used /media/Work/}/${fs_size /media/Work/}
${color lightgrey}${fs_bar 7 /media/Work/}
${color white}$hr
${color green}Highest CPU:

${color #ddaa00} ${top name 1}${top_mem cpu 1}
${color lightgrey} ${top name 2}${top cpu 2}
${color lightgrey} ${top name 3}${top cpu 3}
${color lightgrey} ${top name 4}${top cpu 4}

${color green}Highest MEM:

${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${color lightgrey} ${top_mem name 4}${top_mem mem 4}
${color white}$hr
${color green}Alias:

    ${color lightgrey}install ${color lightgrey}update ${color lightgrey}remove
    ${color lightgrey}echotar
    ${color lightgrey}startxamp ${color lightgrey}learnsql
    ${color lightgrey}vncserv
    ${color lightgrey}sleeppc
${color white}$hr
${color green}M-Buttons:

    ${color lightgrey}M1 - Terminal ${color lightgrey}M2 - Empty
    ${color lightgrey}M3 - Calculator ${color lightgrey}M4- Vbox
    ${color lightgrey}M5 - Calibre
${color white}$hr
]]