mirror of
https://github.com/kuhyx/scripts.git
synced 2026-07-04 13:03:05 +02:00
feat: restore icons space
This commit is contained in:
parent
32168d44b7
commit
101e398e4a
@ -40,7 +40,7 @@ interval=1
|
||||
color=#50FA7B
|
||||
|
||||
[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
|
||||
|
||||
[wifi]
|
||||
|
||||
@ -45,4 +45,4 @@ if [[ "$cpu_temp" != "N/A" ]]; then
|
||||
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
|
||||
|
||||
# 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 "#FFFFFF" # Default color for fallback (ignored if markup is enabled)
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ else
|
||||
fi
|
||||
|
||||
# Output the temperature with the color
|
||||
echo " MB: ${temp}°C" # is a thermometer icon
|
||||
echo " ${temp}°C" # is a thermometer icon
|
||||
echo
|
||||
echo $color
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user