-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi3blocks.conf
44 lines (35 loc) · 938 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
separator_block_width=15
markup=pango
[wifi]
interval=5
command=$HOME/.config/i3/block-wifi
[volume]
interval=3
command=$HOME/.config/i3/block-volume
[battery]
command=$HOME/.config/i3/block-battery
interval=5
[keyboard-layout]
command=$HOME/.config/i3/block-keyboard-layout
interval=once
signal=7
# [countdown]
# command=ruby ~/programming/scripts/countdown.rb
# TODO: add title
# TODO: add target (time)
# interval=60
# TODO: to get the glyph color to not stick out, should probably request the moon
# data serialized and then patch it together (maybe using own glyphs) in an i3 block
# https://stackoverflow.com/questions/42598497/how-to-change-the-color-of-a-unicode-character
[moon-phase]
command=echo $(curl "${VPS_URL}/moon")
interval=300
[rulership]
command=echo $(curl "${VPS_URL}/rulership")
interval=90
[ddate]
command=echo $(curl "${VPS_URL}/ddate")
interval=300
[clock]
command=date +"%Y-%m-%d %H:%M"
interval=2