/
.conkyrc
49 lines (38 loc) · 1.52 KB
/
.conkyrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
pad_percents 2
# 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 yes
# 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 no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# Stuff after 'TEXT' will be formatted on screen
TEXT
# JSON for i3bar
[
{"full_text": "Disk ${fs_used_perc /home}% @ ${fs_size /home}B", "color": "\#4ECDC4"},
{"full_text": "RAM ${memperc}% +${swapperc}% @ ${memmax}B",
"color": ${if_match ${memperc}<90}"\#C7F464"${else}"\#ff0000"${endif}},
{"full_text": "CPU ${cpu cpu1}%,${cpu cpu2}%,${cpu cpu3}%,${cpu cpu4}% @ ${freq_g}GHz",
"color": ${if_match ${memperc}<90}"\#FF6B6B"${else}"\#ff0000"${endif}},
{"full_text": "Net ${upspeed eno1}/s @ ${addr eno1}", "color": "\#C44D58"},
{"full_text": "${uptime_short} @ ${time %Y-%m-%d %H:%M}", "color": "\#CCCCCC"}
],