summaryrefslogtreecommitdiff
path: root/i3blocks.conf
blob: 4709eb83ffbdfe0726767c553712b4723bc5ad5e (plain) (blame)
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# dotfiles -- i3blocks
# author: johannst

# NOTE:
#   Env Variables exported to scripts specified in 'command='
#     BLOCK_NAME=name         # indicator block name '[name]'
#     BLOCK_INSTANCE=inst     # value of 'instance=inst'
#     BLOCK_INTERVAL=10       # value of 'interval=10'
#     BLOCK_BUTTON=1          # set to '1' if script gets triggered by click event
#     BLOCK_X=795             # x coordinate of click event
#     BLOCK_Y=9               # y coordinate of click event
#
#  Coloring indicator blocks
#     color=#FF0000           # sets text color
#     background=#222222      # sets block background
#     border=#9FBC00          # sets color of visible block border
#
#  Trigger block action by signal
#     signal=1                # trigger command by sending SIGRTMIN+1
#     signal=8                # trigger command by sending SIGRTMIN+8
#
#  FontAwesome cheatsheet
#     https://fontawesome.com/v4.7.0/cheatsheet/


#
# Global settings
#

command=/usr/lib/i3blocks/$BLOCK_NAME
markup=none
separator_block_width=7
separator=true
border_top=0
border_left=0
border_right=0
border_bottom=2

#
# Misc
#

[redshift]
command=$HOME/.scripts/redshift.sh
label=🌡️
interval=once
border=#a8a8a8

#
# Network
#

[vpn]
command=echo "$(expressvpn status | head -n1 | sed 's/\x1b\[[0-9;]*m//g')"
label=
interval=30
border=#000000

[eth]
command=$HOME/.scripts/eth.sh
instance=enp0s25
label=
#label=
interval=10
# light green
border=#9FBC00

[wifi]
command=$HOME/.scripts/wifi.sh --ap_quality --ap_name
instance=wlp3s0
label=
interval=10
# bright grey
border=#928374

#
# Load
#

[load_average]
label=
interval=10
# red
border=#cc241d

#
# Battery
#

[battery]
command=$HOME/.scripts/battery.sh
label=
instance=BAT0
interval=5
# yellow - orange
border=#d79921

#
# Volume
#

[volume]
label=
#label=
instance=Master
interval=5
# light purple
border=#b16286

#
# Date Time
#

[date]
command=date '+%Y-%m-%d'
label= 
interval=60
# blue
border=#458588

[time]
command=date '+%H:%M:%S'
label= 
interval=5
# olive
border=#98971a

[time]
command=TZ='Asia/Tokyo' date '+%H:%M:%S'
label=🍣
interval=5
# white
border=#ffffff