Trey's conky configuration.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB

-- 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 v3 or
-- any later version
-- Please see LICENSE for details
-- Copyright (c) 2020-10-23 Trey Blancher
-- 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 = {
lua_load = '/home/trey/.config/conky/scripts.lua',
out_to_x = false,
out_to_console = true,
background = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
update_interval = 1.0,
uppercase = false,
use_spacer = false,
pad_percents = 3,
short_units = false,
};
conky.text =
[[\
RAM:${lua_parse printf %3.0f%% ${memperc}} \
Swap:${lua_parse printf %3.0f%% ${swapperc}} \
CPU:${lua_parse printf %3.0f%% ${cpu cpu0}} \
/ ${fs_used /}/${fs_size /} \
${loadavg} \
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} \
Net: ${lua_parse printf %10s▲%10s▼ ${upspeed wlp4s0} ${downspeed wlp4s0}} \
]];