Get information 

sub title_format {
    my $window = shift;
    my $window_name = $window->get_icon_name();
    my $time = strftime "%m-%d %H:%M %a", localtime;
    my $acpi_info = get_acpi_info();
    my $cpu_frequency = get_cpu_frequency();
    "$window_name | $time | $acpi_info | $cpu_frequency";
}