def conky image update
This commit is contained in:
@@ -45,6 +45,8 @@ conky.config = {
|
||||
short_units = true,
|
||||
double_buffer = true,
|
||||
update_interval = 2,
|
||||
|
||||
template0 = [[~/.icons/mabox-logo-square-default.svg]],
|
||||
};
|
||||
|
||||
conky.text = [[
|
||||
@@ -68,12 +70,12 @@ ${goto 18}${color0}${top_mem name 3}${alignr}${color1}${top_mem mem_res 3}
|
||||
${goto 18}${color0}${top_mem name 4}${alignr}${color1}${top_mem mem_res 4}
|
||||
${goto 18}${color0}${top_mem name 5}${alignr}${color1}${top_mem mem_res 5}
|
||||
#
|
||||
${image ~/.config/conky/images/mabox_3d.png -p 0,250 -s 64x64}
|
||||
${image ${template0} -p 0,258 -s 64x64}
|
||||
${alignr} disk ${color0}${fs_used /} - ${fs_size /}
|
||||
${alignr}${color1} memory ${color0}$legacymem - $memmax
|
||||
#${alignr}${color0}${font Cantarell:size=9}swap $swapmax - $swap
|
||||
#
|
||||
${voffset 10}${alignr}${color0} Mabox Linux ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
|
||||
${voffset 10}${alignr}${color0} Mabox ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
|
||||
${alignr}${color1}${execi 10000 whoami}@${nodename}
|
||||
${alignr}${color0}uptime ${color1}${uptime_short}
|
||||
${alignr}${color0}${alignr}kernel ${color1}${kernel}
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
"logo": {
|
||||
"source": "~/.config/fastfetch/mabox.ascii",
|
||||
"padding": {
|
||||
"left": 1,
|
||||
"right": 1
|
||||
"left": 1
|
||||
},
|
||||
"type": "file",
|
||||
"color": {
|
||||
@@ -42,6 +41,12 @@
|
||||
"type": "packages",
|
||||
"key": "{#separator}│ {#keys} Packages",
|
||||
"format": "{all}"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "{#separator}│ {#keys} Installed",
|
||||
"keyColor": "31",
|
||||
"text": "b_install=$(stat -c %W /); cur=$(date +%s); days_diff=$(( (cur - b_install) / 86400 )); echo $(date -d @$b_install +'%d %b %Y') [$days_diff days ago]"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
|
||||
@@ -45,6 +45,8 @@ conky.config = {
|
||||
short_units = true,
|
||||
double_buffer = true,
|
||||
update_interval = 2,
|
||||
|
||||
template0 = [[~/.icons/mabox-logo-square-default.svg]],
|
||||
};
|
||||
|
||||
conky.text = [[
|
||||
@@ -68,12 +70,12 @@ ${goto 18}${color0}${top_mem name 3}${alignr}${color1}${top_mem mem_res 3}
|
||||
${goto 18}${color0}${top_mem name 4}${alignr}${color1}${top_mem mem_res 4}
|
||||
${goto 18}${color0}${top_mem name 5}${alignr}${color1}${top_mem mem_res 5}
|
||||
#
|
||||
${image ~/.config/conky/images/mabox_3d.png -p 0,250 -s 64x64}
|
||||
${image ${template0} -p 0,258 -s 64x64}
|
||||
${alignr} disk ${color0}${fs_used /} - ${fs_size /}
|
||||
${alignr}${color1} memory ${color0}$legacymem - $memmax
|
||||
#${alignr}${color0}${font Cantarell:size=9}swap $swapmax - $swap
|
||||
#
|
||||
${voffset 10}${alignr}${color0} Mabox Linux ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
|
||||
${voffset 10}${alignr}${color0} Mabox ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
|
||||
${alignr}${color1}${execi 10000 whoami}@${nodename}
|
||||
${alignr}${color0}uptime ${color1}${uptime_short}
|
||||
${alignr}${color0}${alignr}kernel ${color1}${kernel}
|
||||
|
||||
@@ -45,6 +45,8 @@ conky.config = {
|
||||
short_units = true,
|
||||
double_buffer = true,
|
||||
update_interval = 2,
|
||||
|
||||
template0 = [[~/.icons/mabox-logo-square-default.svg]],
|
||||
};
|
||||
|
||||
conky.text = [[
|
||||
@@ -68,12 +70,12 @@ ${goto 18}${color0}${top_mem name 3}${alignr}${color1}${top_mem mem_res 3}
|
||||
${goto 18}${color0}${top_mem name 4}${alignr}${color1}${top_mem mem_res 4}
|
||||
${goto 18}${color0}${top_mem name 5}${alignr}${color1}${top_mem mem_res 5}
|
||||
#
|
||||
${image ~/.config/conky/images/mabox_3d.png -p 0,250 -s 64x64}
|
||||
${image ${template0} -p 0,258 -s 64x64}
|
||||
${alignr} dysk ${color0}${fs_used /} - ${fs_size /}
|
||||
${alignr}${color1} pamięć ${color0}$legacymem - $memmax
|
||||
#${alignr}${color0}${font Cantarell:size=9}swap $swapmax - $swap
|
||||
#
|
||||
${voffset 10}${alignr}${color0} Mabox Linux ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
|
||||
${voffset 10}${alignr}${color0} Mabox ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
|
||||
${alignr}${color1}${execi 10000 whoami}@${nodename}
|
||||
${alignr}${color0}uptime ${color1}${uptime_short}
|
||||
${alignr}${color0}${alignr}jądro ${color1}${kernel}
|
||||
|
||||
@@ -42,6 +42,12 @@
|
||||
"type": "packages",
|
||||
"key": "{#separator}│ {#keys} Pakiety",
|
||||
"format": "{all}"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "{#separator}│ {#keys} Zainstalowany",
|
||||
"keyColor": "31",
|
||||
"text": "b_install=$(stat -c %W /); cur=$(date +%s); days_diff=$(( (cur - b_install) / 86400 )); echo $(date -d @$b_install +'%d %b %Y') [$days_diff dni temu"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
|
||||
Reference in New Issue
Block a user