.i3status.conf.py3status 2.23 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
# 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 += "cpu_usage"
23
24
order += "disk /"
#order += "diskdata"
25
order += "timer"
26
order += "battery_level"
27
order += "path_exists VPN"
28
order += "external_script"
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
order += "tztime local"

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

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

cpu_usage {
        format = " cpu  %usage "
}

46
47
48
49
50
disk "/" {
	prefix_type = decimal
	format = " ⛁ %percentage_used (U:%used, F:%free) "	
}

51
diskdata {
52
	disk = sda2
53
	prefix_type = decimal
54
	#format_space = "[\?min_length=5 {value:.2f}]"
55
	format = " ⛁ {used_percent}% (U:{used} GB, F:{free} GB) "
56
57
}

58
59
60
61
62
external_script {
    format = "{output}"
    script_path = "cat /sys/class/tty/tty0/active"
}

63
whatismyip {
64
65
	format = " 🖧 {isp}\|{city}\|{countryCode} ({ip}) "
	icon_on = "🖧"
66
67
68
69
70
	hide_when_offline = True
	url_geo = "http://ip-api.com/json"
}

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

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

net_rate {
83
	format_value = "[\?min_length=10 {value:.1f} {unit}]"
84
85
	si_units = "True"
	format = "{down}⇣ {up}⇡"
86
        interfaces_blacklist = "lo"
87
88
89
}

battery_level {
90
91
	cache_timeout = 5
	measurement_mode = "acpi"
92
	hide_when_full = "True"
93
94
95
	hide_seconds = "True"
	blocks = ""
	color_charging = "#00ff00"
96
	format = " {icon} {percent}% ({time_remaining}) "
97
98
99
}

tztime local {
100
101
        format = "%Y-%m-%d %H:%M:%S"
        #format = " %d/%m %H:%M:%S"
102
}
103
104

path_exists VPN {
105
        format = "%title:tun0"
106
107
108
        format_down = ""
        color_good = "#00ff00"
        path = "/sys/class/net/tun0/dev_id"
109
}