Conky: Rework setup into two modules

This commit is contained in:
2020-07-08 02:11:59 -05:00
parent 4bad9eb2bc
commit a11fdb60ce
3 changed files with 59 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ conky.config = {
color8 = '1d99f3', -- Blue (CPU)
color9 = '9b59b6', -- Magenta (Memory)
alignment = 'bottom_right',
alignment = 'bottom_left',
xinerama_head = 0,
minimum_height = 0,
minimum_width = 304,
@@ -161,8 +161,7 @@ step_text() {
# Header
cat <<- 'EOF' >> "$_optout"
conky.text = [[
${font Roboto:style=Light:size=30}$alignr${no_update $nodename_short}$font
${font Roboto:style=Light:size=17}$alignr${time %I:%M %p}$font
${font Roboto:style=Light:size=24}$alignr${no_update $nodename_short}$font
${font Roboto:style=Light:size=12}${acpitemp}°C$alignr${time %A, %B %d, %Y}$font
EOF