summaryrefslogtreecommitdiff
path: root/i3/.config/i3blocks/config
blob: bd9357edd716309f33ec502e8f95f5aee5412d02 (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
# 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
# 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=/usr/lib/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=pango
signal=1

[primary]
label=<span color='gray'></span>
command=echo "$(xclip -o | cut -c1-9 | sed -e 's/[^a-zA-Z0-9\-]/_/g')"
min_width=15
interval=5

[clipboard]
label=<span color='gray'></span>
command=echo "$(xclip -o -selection "clipboard" | cut -c1-9 | sed -e 's/[^a-zA-Z0-9\-]/_/g')"
instance=Master
interval=5

[volume]
label=<span color='gray'></span>
instance=Master
interval=5

[repos]
command=~/dotfiles/i3/.config/i3blocks/bin/repos
instance=Phd:/home/urbain/phd Home:/home/urbain
interval=1000

[updates-arch]
command=~/dotfiles/i3/.config/i3blocks/bin/updates
interval=1000

[email]
command=~/dotfiles/i3/.config/i3blocks/bin/email
separator=true
interval=5

[wifi]
label=<span color='gray'></span>
command=~/dotfiles/i3/.config/i3blocks/bin/wifi
separator=true
interval=5

[battery]
command=~/dotfiles/i3/.config/i3blocks/bin/battery
interval=30

[diskhome]
label=<span color='gray'></span>
command=/usr/lib/i3blocks/disk
instance=/home/urbain
interval=300

[diskroot]
label=<span color='gray'></span>
command=/usr/lib/i3blocks/disk
instance=/
interval=300

[date]
label=<span color='gray'></span>
command=date '+%Y-%m-%d'
interval=60

[time]
label=<span color='gray'></span>
command=date '+%H:%M'
interval=60