dotfiles/home/user/.conkyrc
2023-11-13 11:25:48 +03:00

48 lines
1.8 KiB
Plaintext

conky.config = {
out_to_x = false,
own_window = false,
out_to_console = true,
background = false,
max_text_width = 0,
-- Update interval in seconds
update_interval = 2.0,
-- This is the number of times Conky will update before quitting.
-- Set to zero to run forever.
total_run_times = 0,
-- Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
short_units = true,
-- How strict should if_up be when testing an interface for being up?
-- The value is one of up, link or address, to check for the interface
-- being solely up, being up and having link or being up, having link
-- and an assigned IP address.
if_up_strictness = 'address',
-- Add spaces to keep things from moving about? This only affects certain objects.
-- use_spacer should have an argument of left, right, or none
use_spacer = 'left',
-- Force UTF8? note that UTF8 support required XFT
override_utf8_locale = false,
-- number of cpu samples to average
-- set to 1 to disable averaging
cpu_avg_samples = 2,
};
conky.text = [[
[
{ "full_text": " (${wireless_link_qual_perc}% at ${wireless_essid}) ${addr}" , "color": "\#00ff00" },
{ "full_text": " ${addr}" , "color": "\#00ff00" },
{ "full_text": "/ ${fs_used /}/${fs_size /}" , "color": "\#ffffff" },
{ "full_text": " ${fs_used /home}/${fs_size /home}" , "color": "\#ffffff" },
{ "full_text": " ${mem}/${memmax}" , "color": ${if_match ${memperc}<90}"\#ffffff"${else}"\#ff0000"${endif} },
{ "full_text": " ${cpu}%" , "color": ${if_match ${cpu}<90}"\#ffffff"${else}"\#ff0000"${endif} },
{ "full_text": " ${acpitemp}°" , "color": "\#ffffff" },
{ "full_text": "${time  %d.%m.%y %a  %H:%M}", "color": "\#ffffff" }
],
]];