forked from ShabbirHasan1/Leonis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRasalas.conf
93 lines (85 loc) · 4.14 KB
/
Rasalas.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
91
92
93
conky.config = {
--==============================================================================
-- Created : 2021/Oct/15
-- this theme is for conky version 1.10.8 or newer
--
-- RASALAS
-- ( A part of Leonis Conky themes pack )
--
-- author : Closebox73
-- license : Distributed under the terms of GPLv3
-- notes : Created on 1366x768 Monitor
--==============================================================================
-- Size and Position settings --
alignment = 'top_right',
gap_x = 40,
gap_y = 70,
maximum_width = 300,
minimum_height = 500,
minimum_width = 300,
-- 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 = '212021',
color2 = 'FF3A70',
color3 = '808080',
-- 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 = 'FFFFFF',
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/Rasalas/scripts/bar.lua',
lua_draw_hook_pre = 'main_bars',
}
conky.text = [[
${execi 100 ~/.config/conky/Rasalas/scripts/weather.sh}\
${execi 100 ~/.config/conky/Rasalas/scripts/weather-icon.sh JDWS-02 $(cat ~/.cache/weather.json | jq -r '.weather[0].icon')}\
${offset 15}${voffset 0}${color1}${font Bebas Neue:size=72}${time %I}${font}
${offset 15}${voffset 0}${color1}${font Bebas Neue:size=72}${time %M}${font}
${offset 112}${voffset -27}${color1}${font Bebas Neue:size=22}${time %P}${font}
${alignc -76}${voffset -50}${color1}${font Scout:size=11}Hello ${font Scout:bold:size=11}${execi 600 whoami | sed "s|\<.|\U&|g"}
${alignc -76}${voffset 0}${color1}${font Scout:size=11}Wellcome Back!!
${offset 14}${voffset 35}${color1}${font Ubuntu:bold:size=10}${time %B - %Y}${font Bebas Neue:size=0}
${offset 18}${voffset 16}${color3}${font Scout:bold:size=11}${execi 600 date -d -1day +%a}${goto 65}${color}${time %a}${color3}${goto 109}${execi 600 date -d +1day +%a}
${offset 19}${voffset 1}${color3}${font Bebas Neue:size=18}${execi 600 date -d -1day +%d}${goto 66}${color}${time %d}${color3}${goto 109}${execi 600 date -d +1day +%d}
${offset 25}${voffset 35}${color}${font Material:size=19}${execi 3 ~/.config/conky/Rasalas/scripts/wifi-icon}${font}
${offset 57}${voffset -29}${color}${font Scout:bold:size=9}Wi-Fi :
${offset 57}${voffset 0}${color}${font Scout:size=7}${execi 5 ~/.config/conky/Rasalas/scripts/ssid}${font}
${offset 174}${voffset -18}${color1}${font Scout:bold:size=11}RAM${goto 258}CPU
${offset 75}${voffset 35}${color}${font Bebas Neue:size=35}${execi 100 cat ~/.cache/weather.json | jq '.main.temp' | awk '{print int($1+0.5)}'}°C${font Bebas Neue:size=0}
${offset 75}${voffset 5}${color2}${font Scout:size=12}${execi 100 cat ~/.cache/weather.json | jq -r '.name'}
${offset 165}${voffset -60}${color}${font Scout:size=12}${execi 100 cat ~/.cache/weather.json | jq -r '.weather[0].description' | sed "s|\<.|\U&|g"}${font HelveticaNeue:size=1}
${offset 165}${voffset 5}${color}${font Scout:size=9}Wind speed : ${execi 100 (cat ~/.cache/weather.json | jq '.wind.speed')}mph
${offset 165}${voffset 2}${color}${font Scout:size=9}Humidity : ${execi 100 (cat ~/.cache/weather.json | jq '.main.humidity')}%
${offset 165}${voffset 2}${color}${font Scout:size=9}Feel likes : ${execi 100 cat ~/.cache/weather.json | jq '.main.feels_like' | awk '{print int($1+0.5)}'}°C${font Bebas Neue:size=0}
${image ~/.config/conky/Rasalas/res/BG.png -s 300x460 -p 0,10}\
${image ~/.config/conky/Rasalas/res/ava.png -s 95x95 -p 179,30}\
${image ~/.cache/weather-icon.png -p 14,400 -s 40x40}
]]