56 lines
2.0 KiB
Plaintext
56 lines
2.0 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) 2021 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 = "none",
|
|
pad_percents = 3,
|
|
short_units = false,
|
|
};
|
|
|
|
conky.text = [[\
|
|
${lua_parse printf %-20s ${nodename_short}} \
|
|
RAM:${lua_parse printf %3.0f%% ${memperc}} \
|
|
Swap:${lua_parse printf %3.0f%% ${swapperc}} \
|
|
CPU:${lua_parse printf %3.0f%% ${cpu cpu0}} \
|
|
/ ${lua_parse printf %10s/%10s ${fs_used /} ${fs_size /}} \
|
|
${loadavg} \
|
|
${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}} \
|
|
Net: ${lua_parse printf %10s▲%10s▼ ${upspeed wlp4s0} ${downspeed wlp4s0}} \
|
|
${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) \
|
|
]];
|