summaryrefslogtreecommitdiff
path: root/.config/i3blocks/config
blob: 638f638d7edc98fdebdd3b8ba67dc8d86949a82b (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
# i3blocks configuration file
#
# The i3blocks man page describes the usage of the binary,
# and its website describes the configuration:
# https://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
separator=false
separator_block_width=35

# Guess the weather hourly
[weather]
separator=true
separator_block_width=50
command=i3weather
interval=1800
color=#A4C2F4

[badwidth]
seprator=false
command=echo "$(i3bandwidth)"
interval=1

[wifi]
# command=echo "📡 $(i3wifi wlp0s20f3)"
command=i3wifi wlp0s20f0u9
interval=1

[battery]
command=i3battery
interval=1

[cpu]
command=echo " $(i3cpu)"
interval=3

[memory]
separator=true
separator_block_width=50
command=echo " $(i3memory)"
interval=1

[datetime]
separator=false
separator_block_width=25
# command=case "$BLOCK_BUTTON" in 1) TERM=256colors clearx -n 'cal -y --color=always | less' ;; 2) $TERMINAL -e nvim ~/.config/i3blocks/config ;; esac;  date +'🕒 %H:%M:%S  🗓️ %a %d.%m.%Y  '
command=case "$BLOCK_BUTTON" in 1) $TERMINAL -e sh -c 'cal -y --color=always | less' ;; 2) $TERMINAL -e nvim ~/.config/i3blocks/config ;; esac;  date +' %H:%M:%S  󰃭 %a %d.%m.%Y  '
color=#CCFFFF
interval=1

# [ip]
# command=hostname -i  # | awk '{ print "IP:" $1 }'
# interval=once
# color=#91E78B