G

.conkyrc

public
Guest Dec 18, 2024 308 days 40
Clone
Lua .conkyrc 49 lines (43 loc) | 1.81 KB
1
conky.config = {
2
-- Conky settings --
3
update_interval = 2,
4
total_run_times = 0,
5
background = true,
6
cpu_avg_samples = 8,
7
net_avg_samples = 8,
8
override_utf8_locale = true,
9
double_buffer = true,
10
no_buffers = true,
11
text_buffer_size = 256,
12
imlib_cache_size = 10,
13
format_human_readable = true,
14
15
-- Window specifications --
16
own_window = true,
17
own_window_transparent = true,
18
own_window_argb_visual = true,
19
own_window_argb_value = 128,
20
own_window_class = 'Conky',
21
own_window_type = 'panel',
22
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
23
minimum_width = 1920,
24
minimum_height = 8,
25
alignment = 'bottom_left',
26
gap_x = 4,
27
gap_y = 0,
28
29
-- Graphics settings --
30
draw_shades = false,
31
draw_outline = false,
32
draw_borders = false,
33
draw_graph_borders = true,
34
border_width = 0,
35
use_spacer = 'none',
36
37
-- Text settings --
38
override_utf8_locale = true,
39
use_xft = true,
40
font = 'Bitstream Vera Sans Mono:size=8',
41
42
-- Color settings --
43
default_color = 'white',
44
45
};
46
47
conky.text = [[
48
cpu: ${cpu}%${goto 80}${freq cpu}MHz ${goto 135}${cpugraph cpu1 10,50 -l} | mem: $mem / $memmax ${goto 370}${membar 10,50} | swap: $swap / $swapmax ${goto 590}${swapbar 10,50} | hdd: $diskio ${goto 780}${diskiograph nvme0n1 10,50} | d: ${goto 880}${downspeed wlp0s20f3}(${totaldown wlp0s20f3}) ${goto 990}${downspeedgraph wlp0s20f3 10,50} u: ${goto 1075} ${upspeed wlp0s20f3}(${totalup wlp0s20f3}) ${goto 1195}${upspeedgraph wlp0s20f3 10,50} | batt: $battery_percent% / $battery_time ${goto 1420}| $$${execi 60 curl -s https://api.binance.com/api/v1/ticker/price?symbol=BTCUSDT | jq -r '.price' | awk -F. '{print $1}'}
49
]];