summaryrefslogtreecommitdiff
path: root/i3status.conf
blob: 127af255ac3e2b16c7db647f696040c9d14c213c (plain)
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# 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
        #color_good = "#88ff88"
        #color_bad = "#880000"
        color_good = "#ffffff"
        color_bad = "#666666"
        interval = 1
        output_format = i3bar
        separator = 'X'
}

order += "ipv6"
# order += "run_watch VPN"
order += "path_exists VPN"
order += "run_watch DHCP"
# order += "wireless _first_"
order += "ethernet _first_"
order += "ethernet enp7s0"
# order += "battery 0"
order += "cpu_temperature 1"
order += "cpu_usage"
order += "cpu_temperature 2"
# order += "load"
order += "disk /"
order += "volume master"
order += "tztime localdate"
order += "tztime localtime"

ipv6
{
  format_down = ""
}

cpu_temperature 1
{
  format = " %degrees°C "
  path = "/sys/class/thermal/thermal_zone2/temp"
}

cpu_temperature 2
{
  format = " %degrees°C"
  path = "/sys/class/drm/card0/device/hwmon/hwmon1/temp1_input"
}

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

ethernet _first_ {

        # if you use %speed, i3status requires root privileges
        format_up = " %interface %ip (%speed)"
        format_down = " %interface"
}


ethernet enp7s0 {
        # if you use %speed, i3status requires root privileges
        format_up = " %interface %ip (%speed)"
        format_down = " %interface"
}


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

run_watch DHCP {
        pidfile = "/var/run/dhclient*.pid"
        format = "%title"
        format_down = ""
}


path_exists VPN {
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
  path = "/proc/sys/net/ipv4/conf/tun0"
  separator = false
  separator_block_width = 8
  format = " "
  format_down = " "
}

run_watch VPN {
        pidfile = "/var/run/NetworkManager/nm-openvpn-*"
}

tztime localtime {
        format = " %H:%M"
}

tztime localdate {
        format = " %Y-%m-%d:%A"
}

# load {
#         format = "%5min"
# }

disk "/" {
        format = " %avail"
        prefix_type = custom
}

volume master {
        format = " %volume"
        format_muted = "♪: muted (%volume)"
        device = "pulse:0"
}

cpu_usage {
    format = " %usage"
}
..