-
Notifications
You must be signed in to change notification settings - Fork 0
/
i3blocks.conf
68 lines (61 loc) · 1.25 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# background
# border
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent
# Global properties
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
#command=/home/niels/.i3/blocks/scripts/$BLOCK_NAME
# command=$SCRIPT_DIR/$BLOCK_NAME
separator_block_width=15
markup=none
[wifi]
command=~/.config/i3/i3blocks/wifi
label=wifi
INTERFACE=wlp2s0
interval=60
separator=true
[lan]
command=~/.config/i3/i3blocks/lan
label=lan
INTERFACE=enp0s31f6
interval=60
separator=true
[volume]
label=♪
interval=1
separator=true
command=amixer get Master | egrep -o "[0-9]+%" | sed -n '2 p'
[battery]
command=echo $(upower -i $(upower -e | grep BAT) | grep --color=never -E percentage|xargs|cut -d' ' -f2|sed s/%//)%
label=⚡
interval=1
separator=true
[time]
command= date '+%H:%M'
interval=10
separator=true
[day]
command= date '+%a %e %b';[[ -z "${BLOCK_BUTTON}" ]] || gsimplecal &
interval=2
separator=true