-
Notifications
You must be signed in to change notification settings - Fork 1
/
conkyrc.lua
70 lines (57 loc) · 1.94 KB
/
conkyrc.lua
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
-- require Arch Package extra/lua-luajson
conky.config = {
out_to_x = true,
out_to_console = false,
own_window = true,
own_window_type = 'desktop',
own_window_class = 'Conky',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 0, -- 80
own_window_colour = nil,
background = false, -- for debug
double_buffer = true,
use_xft = true,
max_text_width = 100,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
minimum_height = 27,
-- trayer as panel, conky floats on it
-- conky problem: panel not using complete screen width
-- https://bbs.archlinux.org/viewtopic.php?id=102598
minimum_width = 1720,
maximum_width = 1720,
border_inner_margin = 0,
border_outer_margin = 0,
border_width = 0,
alignment = 'bl',
gap_x = 0,
gap_y = 0,
-- Update interval in seconds
update_interval = 0.3,
-- 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 = false,
-- 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 = true,
-- number of cpu samples to average
-- set to 1 to disable averaging
cpu_avg_samples = 2,
-- MODIFY this to where you put conky-i3bar
lua_load = '~/.conky/conky-i3bar/i3bar.lua',
lua_draw_hook_post = 'i3bar',
};
conky.text = [[]]