general {
    colors = true
    interval = 5
    output_format = "i3bar"
}

order += "cmd nowplaying"
order += "volume master"
order += "wireless wlp2s0"
order += "battery 0"
order += "cpu_usage"
order += "load"
order += "tztime utc"

volume master {
    format = "♪: %volume"
    format_muted = "♪: muted (%volume)"
    device = "default"
    mixer = "Master"
    mixer_idx = 0
}

cmd nowplaying {
    cmd = "cmus-remote -Q | grep '^tag \\(artist\\|album\\|title\\) ' | sort | cut -d' ' -f 3- | tr '\\n' '\t' | awk 'BEGIN { FS = \"\\t\" } ; { print \"♪: \" $3 \" (\" $1 \", \" $2 \")\" }'; echo -n ' '"
}

wireless wlp2s0 {
    format_up = "%essid: %quality, %bitrate (%ip)"
    format_down = "wlan0 down"
}

battery 0 {
    format = "%status %percentage %remaining %consumption"
    hide_seconds = true
    status_chr = "⚇"
    status_bat = "⚡"
    status_full = "☻"
    low_threshold = 30
    threshold_type = "percentage"
}

cpu_usage {
    format = "⚙️ %usage"
}

load {
    max_threshold = "0.7"
}

tztime utc {
    format = "%a %b %-d, %I:%M %p UTC"
    timezone = "Etc/UTC"
}