From: Simon Ruderich Date: Thu, 24 Oct 2013 00:28:19 +0000 (+0200) Subject: bin/temperature.pl: Display degree symbol. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=2be4a6b0c24fe35a38748fa6b3f76041825851fb;p=config%2Fdotfiles.git bin/temperature.pl: Display degree symbol. --- diff --git a/bin/temperature.pl b/bin/temperature.pl index 6971f5f..42eaffe 100755 --- a/bin/temperature.pl +++ b/bin/temperature.pl @@ -56,6 +56,8 @@ close $file or die $!; my $value = int($temperature / 1000); my $risk = ($critical - $temperature)/$critical; +$value .= "\xb0"; # degree symbol in UTF-8 + # GNU screen mode with colors. if ($screen_mode) { my $color;