[bluetooth_info.pl]: Print icon only if exists
This commit is contained in:
@ -16,4 +16,5 @@ my %icons = (
|
|||||||
"audio-headset" => ""
|
"audio-headset" => ""
|
||||||
);
|
);
|
||||||
|
|
||||||
printf("$icons{$icon} $device_name $battery_percentage%%");
|
printf("$icons{$icon} ") if exists $icons{$icon};
|
||||||
|
printf("$device_name $battery_percentage%%");
|
||||||
|
Reference in New Issue
Block a user