summaryrefslogtreecommitdiff
path: root/i3status.conf
blob: ceb43a2751a6b3ed90f1ec04030668d7ea279ffc (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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# 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 = false
        #color_good = "#88ff88"
        #color_bad = "#880000"
        color_good = "#666666"
        color_bad = "#660000"
        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 enp0s31f6"
order += "battery 0"
order += "cpu_temperature 1"
order += "cpu_usage"
# order += "cpu_temperature 2"
# order += "load"
order += "disk /"
order += "disk /home"
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 = "📶%quality %essid %ip"
        format_down = "📶 down"
}

ethernet _first_ {

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


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


battery 0 {
        format      = "%status %percentage (%remaining)"
        status_chr  = "🔌"
        status_bat  = "🔋"
        status_unk  = ""
        status_full = "🔋"
}

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 = "💽 / %percentage_avail free"
        prefix_type = custom
        low_threshold = 10
        format_below_threshold = "/ %percentage_avail free (%gbytes_avail)"
}

disk "/home" {
        format = "💽 /home %percentage_avail free"
        prefix_type = custom
        low_threshold = 10
        format_below_threshold = "/home %percentage_avail free (%gbytes_avail)"
}

volume master {
        format = "🔊 %volume"
        format_muted = "🔇 %volume"
        device = "pulse:0"
}

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