49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
-- 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 = 'right',
|
|
pad_percents = 3,
|
|
short_units = true,
|
|
};
|
|
|
|
conky.text =
|
|
[[\
|
|
RAM:${lua_parse fmt %3.0f%% ${memperc}} \
|
|
Swap:${lua_parse fmt %3.0f%% ${swapperc}} \
|
|
CPU:${lua_parse fmt %3.0f%% ${cpu cpu0}} \
|
|
/ ${fs_used /}/${fs_size /} \
|
|
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} \
|
|
Net: ${lua_parse fmt2 %8s▲%8s▼ ${upspeed wlp4s0} ${downspeed wlp4s0}}
|
|
]];
|