mirror of
https://github.com/kuhyx/scripts.git
synced 2026-11-11 15:08:14 +01:00
feat: restore icons space
This commit is contained in:
parent
32168d44b7
commit
101e398e4a
@ -40,7 +40,7 @@ interval=1
|
|||||||
color=#50FA7B
|
color=#50FA7B
|
||||||
|
|
||||||
[ethernet]
|
[ethernet]
|
||||||
command=ip -o -4 addr show enp6s0 | awk '{print " "$4}' || echo " down" # for Ethernet
|
command=ip -o -4 addr show enp6s0 | awk '{print " "$4}' || echo " down" # for Ethernet
|
||||||
interval=10
|
interval=10
|
||||||
|
|
||||||
[wifi]
|
[wifi]
|
||||||
|
|||||||
@ -45,4 +45,4 @@ if [[ "$cpu_temp" != "N/A" ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "<span color=\"$cpu_color\"> ${cpu_temp}°C, ${cpu_load}</span>"
|
echo -e "<span color=\"$cpu_color\"> ${cpu_temp}°C, ${cpu_load}</span>"
|
||||||
@ -59,7 +59,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Output<
|
# Output<
|
||||||
echo -e "<span color=\"$gpu_color\"> ${gpu_temp}, ${gpu_load}%</span>"
|
echo -e "<span color=\"$gpu_color\"> ${gpu_temp}, ${gpu_load}%</span>"
|
||||||
echo
|
echo
|
||||||
echo "#FFFFFF" # Default color for fallback (ignored if markup is enabled)
|
echo "#FFFFFF" # Default color for fallback (ignored if markup is enabled)
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Output the temperature with the color
|
# Output the temperature with the color
|
||||||
echo " MB: ${temp}°C" # is a thermometer icon
|
echo " ${temp}°C" # is a thermometer icon
|
||||||
echo
|
echo
|
||||||
echo $color
|
echo $color
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user