-
Notifications
You must be signed in to change notification settings - Fork 16
/
Syrma.conf
74 lines (66 loc) · 2.81 KB
/
Syrma.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
conky.config = {
--==============================================================================
-- 2021/06/21
-- this is for conky version 1.10.8 or newer
--
-- SYRMA - Conky theme
-- author : Khiky-Merveilles
-- license : Distributed under the terms of GNU GPL version 3 or later
-- notes : Created on 1366x768 Monitor
--==============================================================================
-- Size and Position settings --
alignment = 'middle_middle',
gap_x = 0,
gap_y = -15,
maximum_width = 300,
minimum_height = 400,
minimum_width = 300,
-- Text settings --
use_xft = true,
font = 'Comfortaa:size=9',
-- Color Settings --
default_color = 'white',
default_outline_color = 'black',
default_shade_color = 'black',
color1 = '#8D8D8D',
-- Window Settings --
background = false,
border_width = 1,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
own_window = true,
own_window_colour = '000000',
own_window_class = 'Conky',
own_window_argb_visual = false,
own_window_type = 'desktop',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
stippled_borders = 0,
-- Others --
cpu_avg_samples = 2,
net_avg_samples = 2,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
update_interval = 1,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
lua_load = '~/.config/conky/Syrma/scripts/lua/imlib_clock.lua'
}
conky.text = [[
${execi 100 ~/.conky/Syrma/scripts/weather.sh}\
${execi 100 ~/.conky/Syrma/scripts/weather-icon.sh white1 $(cat ~/.cache/weather.json | jq -r '.weather[0].icon')}\
${voffset 160}${alignc}${font Roboto Condensed:bold:size=15}${color}${execi 120 cat ~/.cache/weather.json | jq -r '.name'}${font}
${voffset 2}${alignc}${font Roboto Condensed:size=12}${color}${execi 120 cat ~/.cache/weather.json | jq -r '.weather[0].description' | sed "s|\<.|\U&|g"}${font}
${voffset 2}${alignc}${font Roboto Condensed:size=12}${color}----------------
${voffset 2}${alignc}${font Roboto Condensed:size=12}${color}Min : ${execi 120 cat ~/.cache/weather.json | jq -r '.main.temp_min' | awk '{print int($1+0.5)}'}°C / Max : ${execi 120 cat ~/.cache/weather.json | jq -r '.main.temp_max' | awk '{print int($1+0.5)}'}°C${font}
${voffset 2}${alignc}${font Roboto Condensed:size=11}${color}Wind speed ${execi 120 cat ~/.cache/weather.json | jq '.wind.speed'}kmh / Humidity ${execi 120 cat ~/.cache/weather.json | jq '.main.humidity'}%${font}
${voffset 25}${offset 135}${font Roboto Condensed:bold:size=35}${color}${execi 120 cat ~/.cache/weather.json | jq '.main.temp' | awk '{print int($1+0.5)}'}°C${font}
${image ~/.cache/weather-icon.png -p 60,300 -s 60x60}\
${lua imlib_clock syrma 150 150 75}
]]