blob: 74b48c63f16e5499277ca7ee5ef5fd7745fe18c4 (
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
94
95
96
97
98
99
|
# 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 | grep -o '^.\{0,9\}' | sed -e 's/[^a-zA-Z0-9\-]/_/g')"
command=echo ""
interval=5
[clipboard]
label=<span color='gray'></span>
# command=echo "$(xclip -o -selection "clipboard" | grep -o '^.\{0,9\}' | sed -e 's/[^a-zA-Z0-9\-]/_/g')"
command=echo ""
interval=5
[volume]
label=<span color='gray'></span>
instance=Master
interval=5
[repos]
command=~/dotfiles/i3/.config/i3blocks/bin/repos
instance=PostDoc:/home/urbain/postdoc 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
[ram]
label=<span color='gray'></span>
command=echo $(free | grep '^Mem' | awk '{ printf "%3.0f%\n", 100*$3/$2 }')
interval=30
# Requires i3blocks-contrib (AUR)
[diskhome]
label=<span color='gray'></span>
command=/usr/lib/i3blocks/disk/disk
instance=/home/urbain
interval=300
[diskroot]
label=<span color='gray'></span>
command=/usr/lib/i3blocks/disk/disk
instance=/
interval=300
[date]
label=<span color='gray'></span>
command=echo $([ $BLOCK_BUTTON = 1 ] && gsimplecal; date '+%Y-%m-%d')
interval=60
[time]
label=<span color='gray'></span>
command=date '+%H:%M'
interval=60
|