Conky: Update gen.sh

This commit is contained in:
Salt 2020-08-07 08:42:45 -05:00
parent 53bf06f47c
commit c2b309892c

View File

@ -109,9 +109,7 @@ conky.config = {
own_window_class = 'Conky', own_window_class = 'Conky',
own_window_type = 'desktop', own_window_type = 'desktop',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true, own_window_colour = '232629',
own_window_transparent = true,
own_window_colour = '000000',
double_buffer = true, double_buffer = true,
cpu_avg_samples = 2, cpu_avg_samples = 2,
@ -131,15 +129,15 @@ conky.config = {
color8 = '1d99f3', -- Blue (CPU) color8 = '1d99f3', -- Blue (CPU)
color9 = '9b59b6', -- Magenta (Memory) color9 = '9b59b6', -- Magenta (Memory)
alignment = 'bottom_left', alignment = 'bottom_right',
xinerama_head = 0, xinerama_head = 0,
minimum_height = 0, minimum_height = 0,
minimum_width = 304, minimum_width = 304,
border_width = 0, border_width = 0,
border_outer_margin = 1, border_outer_margin = 0,
border_inner_margin = 16, border_inner_margin = 16,
gap_x = 32, gap_x = 27,
gap_y = 48, gap_y = 62,
format_human_readable = true, format_human_readable = true,
temperature_unit = "celsius", temperature_unit = "celsius",
@ -161,8 +159,9 @@ step_text() {
# Header # Header
cat <<- 'EOF' >> "$_optout" cat <<- 'EOF' >> "$_optout"
conky.text = [[ conky.text = [[
${font Roboto:style=Light:size=24}$alignr${no_update $nodename_short}$font ${font Roboto:style=Light:size=48}$alignr${time %l:%M %p}$font
${font Roboto:style=Light:size=12}${acpitemp}°C$alignr${time %A, %B %d, %Y}$font ${font Roboto:style=Light:size=24}$alignr${time %A, %B %d, %Y}$font
${font Roboto:style=Light:size=12}${acpitemp}°C$alignr${no_update $nodename_short}$font
EOF EOF
# CPU info # CPU info