-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathconky.conf
92 lines (75 loc) · 4.01 KB
/
conky.conf
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
### Conky configuration file
## Output is printed to the console -> i3bar
# https://github.com/Karmenzind/
###
use_xft yes
# xftfont Helvetica:size=15
# xftalpha 0.9
## No output to X <yes/no>
out_to_x no
## Create own window to draw <yes/no>
own_window no
## Print everything to console?
out_to_console yes
## Use double buffering (reduces flicker, not needed for console output)
double_buffer yes
## Set to yes if you want Conky to be forked in the background
background no
## Update interval in seconds
update_interval 1.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 8
## Sensors examples
# Top Process: ${top name 1}
# Root: {fs_used /}/${fs_size /} /home ${fs_free /home} /${fs_size /home}
# Load: ${loadavg 1} ${loadavg 2} ${loadavg 3}
# Load: $loadavg
# Swap: ${swap}/${swapmax} (${swapperc}%)
# Processes: ${running_processes} / ${processes}
# CPU: $cpu%
# HDD: $diskio_read :Read $diskio_write :Write
# Temp: Core0: ${exec sensors | awk '/Core 0/ {print $3}'} Core1: ${exec sensors | awk '/Core 1/ {print $3}'}
# Freq: ${freq cpu0}Mhz
# Uptime: $uptime
# Kernel:$kernel on $machine
# Name: $nodename - $sysname
# Battery: ${battery_percent BAT0}%
# BATT ${battery BAT0} \
# Weather temperature
# ${exec weather --headers="Temperature" -q | awk '/Temperature/ {print $2}'}C ${exec weather --headers="Sky conditions" -q | awk '/Sky conditions/ {print $3 " " $4}'} | \
# Volume %
# Vol: ${mixer}
#V ${exec pactl list sinks | grep "Volume: 0"| tail -n 1 | awk '{print substr($3, 1, index($3, "%") - 1)}'}%
# ${if_up enp0s31f6}IP ${addr enp0s31f6} | ${endif}\
#${if_up wlan0}wlan0 ${addr wlan0} | ${endif}\
# { "full_text" : " 嬨 XX ${if_running bash /home/k/.local/XX-Net/start}${downspeed teredo}${else}OFF${endif} ", "color": "\#6b8e23" }, \
## Stuff after 'TEXT' will be formatted on screen
TEXT
[ \
{ "full_text" : " CPU ${cpu cpu1}\\${cpu cpu2}\\${cpu cpu3}\\${cpu cpu4} ", "color": "\#68838B" }, \
{ "full_text" : " RAM ${memperc}% ", "color": "\#7d7d7d" }, \
{ "full_text" : " 嬨 Troj ${if_running trojan}ON${else}OFF${endif} ", "color": "\#6b8e23" }, \
{ "full_text" : " SWAP ${swapperc}% ", "color": "\#7d7d7d" }, \
{ "full_text" : " ${downspeed enp0s31f6} ", "color": "\#7d7d7d" }, \
{ "full_text" : " ${upspeed enp0s31f6} ", "color": "\#7d7d7d" }, \
{ "full_text" : " ${freq_g 1}GHz ", "color": "\#7d7d7d" }, \
{ "full_text" : " ${exec sensors | grep -m 1 'Core 0'|awk '{print $3}'} ", "color": "\#7d7d7d" }, \
{ "full_text" : " ${time %a %m/%d} ", "color": "\#7d7d7d" }, \
{ "full_text" : " ${time %H:%M:%S} " } \
],