-
Notifications
You must be signed in to change notification settings - Fork 1
/
Regulus.conf
90 lines (82 loc) · 4.04 KB
/
Regulus.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
conky.config = {
-- Size and Position settings --
alignment = 'top_right',
gap_x = 20,
gap_y = 60,
maximum_width = 300,
minimum_height = 600,
minimum_width = 300,
-- Text settings --
use_xft = true,
override_utf8_locale = true,
font = 'Roboto:light:size=9',
-- Color Settings --
default_color = '#E0DADA',
default_outline_color = 'white',
default_shade_color = 'white',
color1 = '1E90FF',
color2 = 'CF1C2C',
color3 = 'ED8207',
-- 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_type = 'normal',
own_window_colour = '000000',
own_window_class = 'Conky',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
stippled_borders = 0,
-- Others --
cpu_avg_samples = 2,
net_avg_samples = 1,
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/Regulus-Spotify/scripts/rings-v1.2.1.lua',
lua_draw_hook_pre = 'ring_stats',
}
conky.text = [[
${execi 100 ~/.config/conky/Regulus-Spotify/scripts/weather.sh}\
${image ~/.config/conky/Regulus-Spotify/res/Box1.png -s 140x140 -p 150,10}\
${image ~/.config/conky/Regulus-Spotify/res/Box.png -s 140x140 -p 150,165}\
${image ~/.config/conky/Regulus-Spotify/res/Box.png -s 140x140 -p 150,320}\
${offset 0}${voffset 0}${color}${font Bebas Neue:size=110}${time %H}${font}
${offset 240}${voffset -50}${color}${font Abel:size=8}RAID :${font}
${offset 240}${voffset -5}${color3}${font Abel:bold:size=9}${fs_used_perc /mnt/data}%${font}
${offset 240}${voffset -2}${color}${font Abel:size=8}System :${font}
${offset 240}${voffset -5}${color3}${font Abel:bold:size=9}${fs_used_perc /}%${font}
${offset 0}${voffset -10}${color}${font Bebas Neue:size=110}${time %M}${font}
${offset 05}${voffset 15}${color}${font Bebas Neue:size=16}${time %^A}
${offset 05}${voffset 0}${color}${font Bebas Neue:size=16}${time %d / %b / %Y}${font}
${offset 165}${voffset -160}${font feather:size=25}${execi 15 ~/.config/conky/Regulus-Spotify/scripts/weather-text-icon}${goto 220}${font Bebas Neue:size=25}${execi 100 cat ~/.cache/weather.json | jq '.main.temp' | awk '{print int($1+0.5)}'}°C${font}
${offset 165}${voffset -2}${color}${font Abel:size=10}............
${offset 165}${voffset 0}${color3}${font Abel:bold:size=11}${execi 100 cat ~/.cache/weather.json | jq -r '.name'}
${offset 165}${voffset 0}${color}${font Abel:size=11}${execi 100 cat ~/.cache/weather.json | jq -r '.weather[0].description' | sed "s|\<.|\U&|g"}${font}
${offset 165}${voffset 0}${color}${font Abel:size=7}Wind speed : ${execi 100 (cat ~/.cache/weather.json | jq '.wind.speed')}m/s
${offset 165}${voffset 0}${color}${font Abel:size=7}Humidity : ${execi 100 (cat ~/.cache/weather.json | jq '.main.humidity')}%
${offset 165}${voffset 38}${font Feather:size=9}${font Abel:bold:size=8}: ${execi 5 ~/.config/conky/Regulus-Spotify/scripts/ssid}
${offset 165}${voffset 2}${font Abel:size=8}Download : ${downspeed eno2}
${offset 165}${voffset 0}${downspeedgraph eno2 24,107 ED8207 B064AC}
${offset 165}${voffset -3}${color}${font Abel:size=8}Upload : ${upspeed eno2}
${offset 165}${voffset 0}${upspeedgraph eno2 24,107 ED8207 B064AC}
${color}${alignr 175}${voffset 25}${if_running spotify}${font Feather:size=12} ${font Abel:bold:size=14}Now Playing: ${font}
${color3}${alignr 13}${voffset -35}${font Dosis:bold:size=24}${if_match "${execpi 5 playerctl -p spotify status}" == "Playing"}${endif}
${execpi 5 playerctl -p spotify metadata title}${font}${else}${endif}
${color1}${alignr 13}${voffset 0}${font Abel:size=14}${execpi 5 playerctl -p spotify metadata artist}${font}
${if_running spotify}${exec ~/.config/conky/Regulus-Spotify/scripts/fetch-art spotify}
${image ~/.config/conky/Regulus-Spotify/data/spotify.png -p 50,595 -s 210x210 -n}
${else}
${endif}
]]