.i3status.conf.py3status 2.91 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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
        color_good = "#F9FAF9"
        color_bad = "#F9FAF9"
        color_degraded = "#DC322F"
}

order += "spotify"
order += "net_rate"
order += "whatismyip"
order += "wireless _first_"
order += "ethernet _first_"
# order += "load"
order += "cpu_usage"
24
25
order += "disk /"
#order += "diskdata"
26
order += "timer"
27
#order += "battery all"
28
29
order += "battery_level"
# order += "load"
30
order += "path_exists VPN"
31
order += "external_script"
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
order += "tztime local"
# order += "ipv6"

spotify {
	format = "( {artist} : {title})"
	format_down = ""
	format_stopped = ""
}

timer {
	format = ":{timer}"
	time = 3600
}

cpu_usage {
        format = " cpu  %usage "
}

load {
        format = " load %1min "
        # max_threshold = 0.3
}

55
56
57
58
59
disk "/" {
	prefix_type = decimal
	format = " ⛁ %percentage_used (U:%used, F:%free) "	
}

60
diskdata {
61
	disk = sda2
62
	prefix_type = decimal
63
	#format_space = "[\?min_length=5 {value:.2f}]"
64
	format = " ⛁ {used_percent}% (U:{used} GB, F:{free} GB) "
65
66
}

67
68
69
70
71
external_script {
    format = "{output}"
    script_path = "cat /sys/class/tty/tty0/active"
}

72
whatismyip {
73
74
	format = " 🖧 {isp}\|{city}\|{countryCode} ({ip}) "
	icon_on = "🖧"
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	hide_when_offline = True
	url_geo = "http://ip-api.com/json"
}

wireless _first_ {
# if you use %speed, i3status requires root privileges
        format_up = "  %essid (%ip) "
        format_down = ""
}

ethernet _first_ {
# if you use %speed, i3status requires root privileges
        format_up = "  eth (%ip) "
        format_down = ""
}

net_rate {
92
	format_value = "[\?min_length=10 {value:.1f} {unit}]"
93
94
	si_units = "True"
	format = "{down}⇣ {up}⇡"
95
        interfaces_blacklist = "lo"
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
}

battery all {
        # format = "%status %percentage %remaining %emptytime"
        format = " %status %percentage %remaining "
        format_down = "No battery"
        last_full_capacity = true
        integer_battery_capacity = true
        # status_chr = ""
        status_chr = "⚡"
        # status_bat = "bat"
        # status_bat = "☉"
        status_bat = ""
        # status_unk = "?"
        status_unk = ""
        # status_full = ""
        status_full = "☻"
        low_threshold = 15
        threshold_type = time
}

battery_level {
118
	cache_timeout = 30
119
120
	measurement_mode = "acpi"
	hide_when_full = "True"
121
122
123
	hide_seconds = "True"
	blocks = ""
	color_charging = "#00ff00"
124
	format = " {icon} {percent}% ({time_remaining}) "
125
126
127
128
}

tztime local {
        # format = "%Y-%m-%d %H:%M:%S"
129
        format = " %d/%m %H:%M:%S"
130
}
131
132

path_exists VPN {
133
        format = "%title:tun0"
134
135
136
        format_down = ""
        color_good = "#00ff00"
        path = "/sys/class/net/tun0/dev_id"
137
}