-
Notifications
You must be signed in to change notification settings - Fork 20
/
i3blocks.conf
50 lines (41 loc) · 888 Bytes
/
i3blocks.conf
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
#[clickme]
#full_text=Click me!
#command=echo button=$BLOCK_BUTTON x=$BLOCK_X y=$BLOCK_Y
#min_width=button=1 x=1366 y=768
#align=left
[eth0]
label=🖧
command=echo "`ip -o -4 addr list eth0 | awk '{print $4}'| cut -d/ -f1`"
interval=30
[fs_root]
command=df -h --output=pcent / | tail -n 1
label= /
interval=30
[fs_home]
command=df -h --output=pcent /home | tail -n 1
label= /home
interval=30
[memory]
command=free | grep Mem | awk '{print int(($3-$7)/$2 * 100),"%";}'
label=
interval=5
[temp]
command=/usr/share/i3blocks/temperature
label=
interval=5
[uptime]
command=awk '{printf("%2dh %02dm",($1/60/60%24),($1/60%60))}' /proc/uptime
label=
interval=30
[volume]
command=echo "`~/.i3/conky/volumelevel.sh`%"
label=♪
interval=2
[battery]
command=/usr/share/i3blocks/battery
label=
interval=30
[time]
command=date '+%a %d/%m/%Y - %H:%M'
label=
interval=5