Conky: IBM PLEEEX

This commit is contained in:
Salt 2020-11-02 19:37:07 -06:00
parent 48c32520f2
commit f30d5dba54
2 changed files with 11 additions and 11 deletions

View File

@ -14,7 +14,7 @@ conky.config = {
update_interval = 1,
use_xft = true,
font = 'Roboto:style=Light:size=9',
font = 'IBM Plex Sans:style=Light:size=9',
default_color = '#fffcf6',
color1 = '232629', -- Background
color2 = 'fffcf6', -- Foreground
@ -43,7 +43,7 @@ conky.config = {
draw_shades = false
}
conky.text = [[
${font Roboto:style=Light:size=96}$alignr${time %l:%M %p}$font
${font IBM Plex Sans:style=Light:size=96}$alignr${time %l:%M %p}$font
${font Roboto:style=Light:size=32}$alignr${time %A, %B %d, %Y}$font
${font IBM Plex Sans:style=Light:size=32}$alignr${time %A, %B %d, %Y}$font
]]

View File

@ -118,7 +118,7 @@ conky.config = {
update_interval = 1,
use_xft = true,
font = 'Roboto:style=Light:size=9',
font = 'IBM Plex Sans:style=Light:size=9',
default_color = '#fffcf6',
color1 = '232629', -- Background
color2 = 'fffcf6', -- Foreground
@ -159,15 +159,15 @@ step_text() {
# Header
cat <<- 'EOF' >> "$_optout"
conky.text = [[
${font Roboto:style=Light:size=64}$alignr${time %l:%M %p}$font
${font Roboto:style=Light:size=18}$alignr${time %A, %B %d, %Y}$font
${font Roboto:style=Light:size=12}${acpitemp}°C$alignr${no_update $nodename_short}$font
${font IBM Plex Sans:style=Light:size=64}$alignr${time %l:%M %p}$font
${font IBM Plex Sans:style=Light:size=18}$alignr${time %A, %B %d, %Y}$font
${font IBM Plex Sans:style=Light:size=12}${acpitemp}°C$alignr${no_update $nodename_short}$font
EOF
# CPU info
cat <<- 'EOF' >> "$_optout"
${color3}$hr$color
${font Roboto:style=Medium:size=9}CPU$font: $freq_g GHz$alignr$cpu%
${font IBM Plex Sans:style=Medium:size=9}CPU$font: $freq_g GHz$alignr$cpu%
EOF
if (( _optgraph > 0 )); then
local gpl=1
@ -215,7 +215,7 @@ step_text() {
# Memory info
cat <<- 'EOF' >> "$_optout"
${color3}$hr$color
${font Roboto:style=Medium:size=9}Memory$font: $mem / $memmax used$alignr$memperc%
${font IBM Plex Sans:style=Medium:size=9}Memory$font: $mem / $memmax used$alignr$memperc%
EOF
if (( _optgraph > 0 )); then
echo -e '${color9}${memgraph}$color' >> "$_optout"
@ -233,7 +233,7 @@ step_text() {
# Disk info
cat <<- 'EOF' >> "$_optout"
${color3}$hr$color
${font Roboto:style=Medium:size=9}Disk$font (R/W):$alignr${diskio /dev/sda}
${font IBM Plex Sans:style=Medium:size=9}Disk$font (R/W):$alignr${diskio /dev/sda}
EOF
if (( _optgraph > 0 )); then
echo '${color7}${diskiograph_read /dev/sda 36,200} ${diskiograph_write /dev/sda 36,200}$color' >> "$_optout"
@ -253,7 +253,7 @@ step_text() {
# Networking
cat <<-'EOF' >>"$_optout"
${color3}$hr$color
${font Roboto:style=Medium:size=9}Network$font:${alignr}Default $gw_iface${if_up wlp1s0}
${font IBM Plex Sans:style=Medium:size=9}Network$font:${alignr}Default $gw_iface${if_up wlp1s0}
EOF
for interface in $(iw dev | awk '$1=="Interface"{print $2}'); do
echo "$interface (U/D): \$alignr\${addr $interface} / \${wireless_essid $interface}" >> "$_optout"