summaryrefslogtreecommitdiff
path: root/.config/i3status/config
blob: 1525d00b6fc06c328c7101f5aca99f283a8de4f1 (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
# 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 {
	output_format = "i3bar"
	colors = true
	interval = 5
}

order += "tztime holder__vpn"
#order += "cpu_temperature 0"
order += "tztime holder__temp"
order += "ethernet _first_"
order += "wireless _first_"
order += "ipv6"
order += "disk /"
order += "memory"
order += "load"
order += "volume master"
#order += "tztime local"
# We use ~/.local/bin/any_position_wrapper.sh as a wrapper which
# will fill these custom placeholders
order += "tztime holder__jdate"
order += "tztime tehran"
order += "tztime vancouver"
order += "battery 0"

tztime holder__vpn {
	format = "holder__vpn"
}

tztime holder__temp {
	format = "holder__temp"
}

cpu_temperature 0 {
	format = "CPU T: %degrees °C"
	path = "/sys/class/hwmon/hwmon4/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 = "E: %ip (%speed)"
	format_down = "E: down"
}

battery 0 {
        format = "%status %percentage %remaining %emptytime"
        format_down = ""
        status_chr = "⚡ CHR"
        status_bat = "🔋 BAT"
        status_unk = "? UNK"
        status_full = "☻ FULL"
        low_threshold = 10
        path = "/sys/class/power_supply/BAT%d/uevent"
}

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

memory {
        format = "%used"
        threshold_degraded = "10%"
        format_degraded = "MEMORY: %free"
}

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

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

tztime holder__jdate {
       format = "holder__jdate"
}

tztime tehran {
	format = "Teh %H:%M"
	timezone = "Asia/Tehran"
}

tztime vancouver {
	format = "Van %H:%M"
	timezone = "America/Vancouver"
}