forked from ShabbirHasan1/Leonis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kochab.conf
90 lines (81 loc) · 3.35 KB
/
Kochab.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 = {
--==============================================================================
-- Created : 2021/May/01
-- This theme is for conky version 1.10.8 or newer
--
-- KOCHAB
-- ( A part of Leonis Conky themes pack )
--
-- author : Closebox73
-- license : Distributed under the terms of GPLv3
-- notes : Created on 1366x768 Monitor
-- Update :
-- 26 May 22 >> i change music player from MOCP to MPD
--==============================================================================
-- Size and Position settings --
alignment = 'top_left',
gap_x = 40,
gap_y = 50,
maximum_width = 600,
minimum_height = 600,
minimum_width = 400,
-- Text settings --
use_xft = true,
override_utf8_locale = true,
font = 'Roboto:light:size=9',
-- Color Settings --
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
color1 = 'FFFFFF',
color2 = '61AFEF',
-- 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,
}
conky.text = [[
${image ~/.config/conky/Kochab/res/box.png -p 0,270 -s 100x100}\
${image ~/.config/conky/Kochab/res/box.png -p 130,270 -s 100x100}\
${image ~/.config/conky/Kochab/res/box.png -p 260,270 -s 100x100}\
${execi 300 ~/.config/conky/Kochab/scripts/weather.sh}\
${execi 100 ~/.config/conky/Kochab/scripts/weather-icon.sh JDWS-02 $(cat ~/.cache/weather.json | jq -r '.weather[0].icon')}${image ~/.cache/weather-icon.png -p 153,283 -s 53x53}\
${color1}${voffset 10}${font Roboto:bold:size=40}Hello
${color1}${voffset -30}${font Roboto:bold:size=30}It's ${color2}${time %A}.${font}
${voffset 40}${font Material:size=25}${color2}\
${voffset -5}${offset 10}${color}${font Comfortaa:bold:size=15}${execi 100 cat ~/.cache/weather.json | jq -r '.name'}
${voffset 15}${font Material:size=23}${color2}\
${voffset -5}${offset 10}${color}${font Comfortaa:bold:size=15}${execi 100 whoami | sed "s|\<.|\U&|g"}
${color1}${alignc 153}${voffset 45}${font Nunito:bold:size=22}${time %H}${font}
${color2}${alignc 153}${voffset 5}${font Material:size=11}${color}${font}
${color2}${alignc 153}${voffset -2}${font Nunito:bold:size=22}${time %M}${font}
${color1}${alignc 23}${voffset -22}${font Nunito:bold:size=12}${execi 100 cat ~/.cache/weather.json | jq '.main.temp' | awk '{print int($1+0.5)}'} °C${font}
${color2}${alignc -109}${voffset -80}${font Nunito:bold:size=22}${time %d}${font}
${color1}${alignc -109}${voffset 5}${font Nunito:bold:size=22}${time %b}${font}
${color1}${voffset 40}${font Nunito:size=13}${if_running mpd}${mpd_status} :${else}No music played${endif}
${color2}${voffset 10}${font Smooch:size=35}${mpd_artist}${font}
${color1}${voffset 10}${if_running mpd}${font Material:size=15} ${font Nunito:size=14}${mpd_title}${else} ${endif}
]]