conky/conky.conf

56 lines
2.0 KiB
Plaintext
Raw Normal View History

2020-10-23 18:44:11 -04:00
-- 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
2021-09-26 12:37:28 -04:00
-- Copyright (c) 2021 Trey Blancher
2020-10-23 18:44:11 -04:00
-- 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,
2021-09-26 12:37:28 -04:00
use_spacer = "none",
2020-10-23 18:44:11 -04:00
pad_percents = 3,
short_units = false,
2020-10-23 18:44:11 -04:00
};
2021-09-26 12:37:28 -04:00
conky.text = [[\
${lua_parse printf %-20s ${nodename_short}} \
2020-10-25 17:48:58 -04:00
RAM:${lua_parse printf %3.0f%% ${memperc}} \
Swap:${lua_parse printf %3.0f%% ${swapperc}} \
CPU:${lua_parse printf %3.0f%% ${cpu cpu0}} \
2021-09-26 12:37:28 -04:00
/ ${lua_parse printf %10s/%10s ${fs_used /} ${fs_size /}} \
2020-10-25 17:48:58 -04:00
${loadavg} \
2021-09-26 12:37:28 -04:00
${lua_parse printf %-20s ${top name 1}} \
${lua_parse printf %8d ${top pid 1}} \
${lua_parse printf %6.2f ${top cpu 1}} \
${lua_parse printf %6.2f ${top mem 1}} \
2020-10-25 17:48:58 -04:00
Net: ${lua_parse printf %10s▲%10s▼ ${upspeed wlp4s0} ${downspeed wlp4s0}} \
2021-09-26 12:37:28 -04:00
${exec ~/bin/core_temp.sh}${lua_parse printf %9s ${exec ~/bin/core_temp.sh -t}}^fg(\#ebdbb2) \
${exec ~/bin/nvme_temp.sh}${lua_parse printf %9s ${exec ~/bin/nvme_temp.sh -t}}^fg(\#ebdbb2) \
${exec ~/bin/virt_temp.sh}${lua_parse printf %9s ${exec ~/bin/virt_temp.sh -t}}^fg(\#ebdbb2) \
2020-10-23 18:44:11 -04:00
]];