summaryrefslogtreecommitdiffstats
path: root/private_dot_config/i3blocks/config
blob: c9f543e95dbef6a086237df7e20ae7d67e64d183 (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
command=/usr/share/i3blocks/$BLOCK_NAME
separator_block_width=15

[weather]
command=curl -Ss 'https://wttr.in/Bologna?0&T&Q' | cut -c 16- | head -2 | xargs echo
interval=3600
color=#A4C2F4

[cputemp]
command=sensors | grep edge | cut -d '+' -f 2 | cut -d ' ' -f 1
interval=10
label=🌡️

[memory]
label=MEM
separator=false
interval=30

[disk]
label=DISK
interval=30

[cpu_usage]
label=CPU
interval=10
min_width=CPU: 100.00%

[wifi]
command=iwgetid -r | tr '\n' ' ' && grep $(iwgetid -m | awk '{ printf "%s", $1 }') /proc/net/wireless | awk '{ printf "%i%\n", int($3 * 100 / 70) }';exit 0 instance=wlp2s0
interval=5
label= 

[battery]
label=⚡ 
command=acpi -b | awk -F', ' '{print $2}'
interval=30

[i3volume]
label=   
command=~/i3-volume/volume output "%v\n%v"
interval=once
signal=10
color=#b8bb26
separator_block_width=10
markup=pango

[time]
command=date
interval=1