aboutsummaryrefslogtreecommitdiff
path: root/i3/.i3status.conf
blob: 67710fb3f73923ea01a6069b2d252b2580a96a91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
general {
    colors = true
    interval = 5
    output_format = "i3bar"
}

order += "cmd nowplaying"
order += "volume master"
order += "wireless wlan0"
order += "battery 0"
order += "cpu_usage"
order += "load"
order += "tztime local"

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 wlan0 {
    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 local {
    format = "%a %b %-d, %I:%M %p"
}