-
Notifications
You must be signed in to change notification settings - Fork 0
/
conky.conf
50 lines (41 loc) · 1.16 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
local widthConky = 500
local heightBar = 5
local heightGraph = 30
-- cat /sys/class/hwmon/hwmon*/name
local hwmonNameCpu = 'k10temp'
local widthGraphNet = widthConky / 2 - 10
local widthBarThread
---- For 1080p
--widthBarThread = (widthConky - 50) / 4 - 40
-- For 4k
widthBarThread = (widthConky - 84) / 4 - 70
conky.config = {
alignment = 'top_right',
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = '808080',
double_buffer = true,
draw_borders = false,
draw_outline = true,
draw_shades = false,
font = 'Deja Vu Sans Mono:size=9',
gap_x = 15,
gap_y = 30,
lua_load = '~/.config/conky/conky.lua',
lua_startup_hook = string.format("setSettings %s %s %s %s %s", heightBar, heightGraph, widthBarThread, widthGraphNet, hwmonNameCpu),
maximum_width = widthConky,
minimum_height = 50,
minimum_width = widthConky,
own_window_argb_visual = true,
own_window_hints = 'below,skip_pager,skip_taskbar,sticky,undecorated',
own_window_transparent = true,
own_window = true,
store_graph_data_explicitly = false,
update_interval = 1,
use_xft = true,
}
conky.text =
[[${lua_parse getCpu}
${lua_parse gpuInfo}
${lua_parse net}
]]