aboutsummaryrefslogtreecommitdiff
path: root/misc/.config/i3status/config
blob: 4b7725af4aeb78c4f8c9f7d06dcd9f3768b9ffdd (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# i3status configuration file.
# see "man i3status" for documentation.

# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!

general {
        colors = true
        interval = 5
}

order += "read_file emms"
order += "wireless _first_"
order += "read_file VPN"
order += "battery all"
order += "disk /"
order += "disk /home"
order += "cpu_usage"
order += "load"
order += "memory"
order += "tztime local"
order += "volume master"

read_file emms {
          format = "emms playing: %content"
          format_bad = "emms not playing"
          path = "~/.emacs.d/emms-i3bar"
}

wireless _first_ {
        format_up = "W: (%quality at %essid, %bitrate / %frequency) %ip"
        format_down = "W: down"
}

ethernet _first_ {
        format_up = "E: %ip (%speed)"
        format_down = "E: down"
}

# in collaboration with check-ovpn.sh
read_file VPN {
  format = "VPN: %content"
  format_bad = "VPN: NO"
  path = "~/.local/ovpn-up"
}

battery all {
        format = "%status %percentage %remaining"
}

disk "/" {
        format = "/%avail"
}

disk "/home" {
        format = "~%avail"
}

cpu_usage {
	format = "CPU: %usage 0: %cpu0 1: %cpu1"
	max_threshold = 75
	format_above_threshold = "Warning CPU: %usage"
	degraded_threshold = 25
	format_above_degraded_threshold = "Warning CPU: %usage"
}

load {
        format = "%1min"
}

memory {
        format = "%available"
        threshold_degraded = "1G"
        format_degraded = "MEMORY < %available"
}

tztime local {
        format = "%Y-%m-%d %H:%M:%S"
}

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