-
Notifications
You must be signed in to change notification settings - Fork 0
/
i3status-bottom
142 lines (135 loc) · 3.64 KB
/
i3status-bottom
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
138
139
140
141
142
[theme]
theme = "modern"
[icons]
icons = "material-nf"
#[[block]]
#block = "toggle"
#format = " $icon "
#command_state = "bluetoothctl show | grep Powered | grep -v no"
#command_on = "rfkill unblock bluetooth; sleep 1 && bluetoothctl power on"
#command_off = "rfkill block bluetooth; sleep 1 && bluetoothctl power off"
#interval = 5
#
#[[block]]
#block = "bluetooth"
#mac = "B8:9A:2A:D3:39:01"
##format = " $icon $name { $percentage|} "
##disconnected_format = ""
#[block.battery_state]
#"0..20" = "critical"
#"21..70" = "warning"
#"71..100" = "good"
#
#[[block]]
#block = "bluetooth"
#mac = "C0:6B:55:13:DF:99"
##format = " $icon $name { $percentage|} "
##disconnected_format = ""
#[block.battery_state]
#"0..20" = "critical"
#"21..70" = "warning"
#"71..100" = "good"
#
#[[block]]
#block = "bluetooth"
#mac = "20:1B:88:59:AF:4F"
##format = " $icon $name { $percentage|} "
##disconnected_format = ""
#[block.battery_state]
#"0..20" = "critical"
#"21..70" = "warning"
#"71..100" = "good"
#
#[[block]]
#block = "bluetooth"
#mac = "00:42:79:A1:4C:C3"
##format = " $icon $name { $percentage|} "
##disconnected_format = ""
#[block.battery_state]
#"0..20" = "critical"
#"21..70" = "warning"
#"71..100" = "good"
#
#[[block]]
#block = "net"
#format = " $icon ^icon_net_down $speed_down.eng(prefix:K) ^icon_net_up $speed_up.eng(prefix:K) "
#format_alt = " $icon {$signal_strength $ssid $frequency|Wired connection} via $device "
[[block]]
block = "load"
format = " $icon 1min avg: $1m.eng(w:4) "
interval = 1
merge_with_next = true
[[block]]
block = "cpu"
interval = 1
format = " $icon $utilization "
format_alt = " $icon $frequency{ $boost|} "
merge_with_next = true
[[block]]
block = "temperature"
interval = 10
{{#if amd_cpu}}
chip = "zenpower-pci-*"
{{else}}
chip = "coretemp-isa-*"
{{/if}}
format = " $icon $max max "
format_alt = " $icon $min min, $max max, $average avg "
[[block]]
block = "memory"
format = " $icon $mem_used_percents.eng(w:1) "
format_alt = " $icon_swap $swap_free.eng(w:3,u:B,p:M)/$swap_total.eng(w:3,u:B,p:M)($swap_used_percents.eng(w:2)) "
interval = 30
warning_mem = 70
critical_mem = 90
{{#if amd_gpu}}
[[block]]
block = "amd_gpu"
format = " $icon $utilization "
format_alt = " $icon MEM: $vram_used_percents ($vram_used/$vram_total) "
interval = 1
merge_with_next = true
[[block]]
block = "temperature"
interval = 10
chip = "amdgpu-pci-*"
format = " $icon $max max "
format_alt = " $icon $min min, $max max, $average avg "
{{/if}}
{{#if nvidia_gpu}}
[[block]]
block = "nvidia_gpu"
interval = 1
format = " $icon GTX 1050 Ti Mobile $utilization $temperature $clocks "
{{/if}}
{{#if (is_executable "yay")}}
[[block]]
block = "pacman"
signal = 1
interval = 600
error_interval = 300
format = " $icon $pacman + $aur = $both updates available "
format_singular = " $icon $both update available "
format_up_to_date = " $icon system up to date "
critical_updates_regex = "(linux|linux-lts|linux-zen)"
# aur_command should output available updates to stdout (ie behave as echo -ne "update\n")
aur_command = "yay -Qua"
[[block.click]]
# pop-up a menu showing the available updates. Replace wofi with your favourite menu command.
button = "left"
cmd = "fakeroot pacman -Qu --dbpath /tmp/checkup-db-i3statusrs/ | rofi -dmenu"
{{/if}}
{{#if (is_executable "dnf")}}
[[block]]
block = "dnf"
interval = 1800
format = " $icon $count.eng(w:1) updates available "
format_singular = " $icon One update available "
format_up_to_date = " $icon system up to date "
critical_updates_regex = "(linux|linux-lts|linux-zen)"
[[block.click]]
# shows dmenu with cached available updates. Any dmenu alternative should also work.
button = "left"
cmd = "dnf list -q --upgrades | tail -n +2 | rofi -dmenu"
{{/if}}
# vim: set ft=toml: