Conky: IBM PLEEEX
This commit is contained in:
parent
48c32520f2
commit
f30d5dba54
@ -14,7 +14,7 @@ conky.config = {
|
|||||||
update_interval = 1,
|
update_interval = 1,
|
||||||
|
|
||||||
use_xft = true,
|
use_xft = true,
|
||||||
font = 'Roboto:style=Light:size=9',
|
font = 'IBM Plex Sans:style=Light:size=9',
|
||||||
default_color = '#fffcf6',
|
default_color = '#fffcf6',
|
||||||
color1 = '232629', -- Background
|
color1 = '232629', -- Background
|
||||||
color2 = 'fffcf6', -- Foreground
|
color2 = 'fffcf6', -- Foreground
|
||||||
@ -43,7 +43,7 @@ conky.config = {
|
|||||||
draw_shades = false
|
draw_shades = false
|
||||||
}
|
}
|
||||||
conky.text = [[
|
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
|
||||||
]]
|
]]
|
||||||
|
@ -118,7 +118,7 @@ conky.config = {
|
|||||||
update_interval = 1,
|
update_interval = 1,
|
||||||
|
|
||||||
use_xft = true,
|
use_xft = true,
|
||||||
font = 'Roboto:style=Light:size=9',
|
font = 'IBM Plex Sans:style=Light:size=9',
|
||||||
default_color = '#fffcf6',
|
default_color = '#fffcf6',
|
||||||
color1 = '232629', -- Background
|
color1 = '232629', -- Background
|
||||||
color2 = 'fffcf6', -- Foreground
|
color2 = 'fffcf6', -- Foreground
|
||||||
@ -159,15 +159,15 @@ step_text() {
|
|||||||
# Header
|
# Header
|
||||||
cat <<- 'EOF' >> "$_optout"
|
cat <<- 'EOF' >> "$_optout"
|
||||||
conky.text = [[
|
conky.text = [[
|
||||||
${font Roboto:style=Light:size=64}$alignr${time %l:%M %p}$font
|
${font IBM Plex Sans:style=Light:size=64}$alignr${time %l:%M %p}$font
|
||||||
${font Roboto:style=Light:size=18}$alignr${time %A, %B %d, %Y}$font
|
${font IBM Plex Sans: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=12}${acpitemp}°C$alignr${no_update $nodename_short}$font
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# CPU info
|
# CPU info
|
||||||
cat <<- 'EOF' >> "$_optout"
|
cat <<- 'EOF' >> "$_optout"
|
||||||
${color3}$hr$color
|
${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
|
EOF
|
||||||
if (( _optgraph > 0 )); then
|
if (( _optgraph > 0 )); then
|
||||||
local gpl=1
|
local gpl=1
|
||||||
@ -215,7 +215,7 @@ step_text() {
|
|||||||
# Memory info
|
# Memory info
|
||||||
cat <<- 'EOF' >> "$_optout"
|
cat <<- 'EOF' >> "$_optout"
|
||||||
${color3}$hr$color
|
${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
|
EOF
|
||||||
if (( _optgraph > 0 )); then
|
if (( _optgraph > 0 )); then
|
||||||
echo -e '${color9}${memgraph}$color' >> "$_optout"
|
echo -e '${color9}${memgraph}$color' >> "$_optout"
|
||||||
@ -233,7 +233,7 @@ step_text() {
|
|||||||
# Disk info
|
# Disk info
|
||||||
cat <<- 'EOF' >> "$_optout"
|
cat <<- 'EOF' >> "$_optout"
|
||||||
${color3}$hr$color
|
${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
|
EOF
|
||||||
if (( _optgraph > 0 )); then
|
if (( _optgraph > 0 )); then
|
||||||
echo '${color7}${diskiograph_read /dev/sda 36,200} ${diskiograph_write /dev/sda 36,200}$color' >> "$_optout"
|
echo '${color7}${diskiograph_read /dev/sda 36,200} ${diskiograph_write /dev/sda 36,200}$color' >> "$_optout"
|
||||||
@ -253,7 +253,7 @@ step_text() {
|
|||||||
# Networking
|
# Networking
|
||||||
cat <<-'EOF' >>"$_optout"
|
cat <<-'EOF' >>"$_optout"
|
||||||
${color3}$hr$color
|
${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
|
EOF
|
||||||
for interface in $(iw dev | awk '$1=="Interface"{print $2}'); do
|
for interface in $(iw dev | awk '$1=="Interface"{print $2}'); do
|
||||||
echo "$interface (U/D): \$alignr\${addr $interface} / \${wireless_essid $interface}" >> "$_optout"
|
echo "$interface (U/D): \$alignr\${addr $interface} / \${wireless_essid $interface}" >> "$_optout"
|
||||||
|
Loading…
Reference in New Issue
Block a user