-
Notifications
You must be signed in to change notification settings - Fork 0
/
wind_blow.lua
60 lines (54 loc) · 1.76 KB
/
wind_blow.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
--[[
conky config script to load lua script wind_weave.lua,
which prints the wind streamlines in streamlines.dat.
moritz siegel @ 210623
]]
conky.config = {
alignment = 'top_left',
background = true,
border_width = 1,
color1 = 'FF8E38',
cpu_avg_samples = 2, -- set to 1 to disable averaging
default_color = 'A89C8C',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true, -- double buffering (reduces flicker, may not work for everyone)
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'Bitstream Vera Sans Mono:size=13',
gap_x = 0,
gap_y = 0,
lua_load = '~/wind/wind_weave.lua',
lua_draw_hook_pre = 'conky_wind',
minimum_height = 1080,
minimum_width = 1920,
net_avg_samples = 2,
no_buffers = true,
net_avg_samples = 2, -- set to 1 to disable averaging
out_to_console = false,
out_to_stderr = false,
own_window = true, -- Draws own window (prevent flickering with more than one conky running)
own_window_transparent = true,
own_window = true,
own_window_class = 'Conky',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_type = 'override',
show_graph_scale = true,
show_graph_range = false,
short_units = true, -- Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
xftalpha = 0.8,
}
--[[ TEST
${font xft:Bitstream Vera Sans Mono:size=40}${time %H:%M}${font}
${color #A89C8C}${hr 2}${color}
]]
conky.text = [[
]]