This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.i3blocks.conf
74 lines (63 loc) · 1.69 KB
/
.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
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
separator=false
separator_block_width=5
#[window]
#command=$HOME/.scripts/i3/window_title.sh
#interval=persist
#separator=true
#separator_block_width=30
#[updates]
#command=[[ -z "${BLOCK_BUTTON}" ]] || ([[ "${BLOCK_BUTTON}" == "1" ]] && urxvt -hold -e yaourt -Sua) && $HOME/.scripts/update.sh
#interval=1
#separator=true
#separator_block_width=30
[backup]
command=$HOME/.scripts/backup/print_backup_state.sh
interval=5
separator=true
separator_block_width=30
[volume]
label=
command=$HOME/.scripts/audio/getvolume.sh
interval=1
signal=1
markup=pango
[brightness]
label=
command=printf " %.0f " $(( ( $(cat /sys/class/backlight/intel_backlight/brightness) * 100) / $(cat /sys/class/backlight/intel_backlight/max_brightness) ))
interval=1
signal=2
separator=true
separator_block_width=21
[wireless]
label=
command=([[ "${BLOCK_BUTTON}" == "1" ]] && sh -c "gksu -k wpa_gui &") || ([[ -z "$(${HOME}/.scripts/net/get_ssid.sh)" ]] || echo "$(${HOME}/.scripts/net/get_ssid.sh) ")
interval=2
separator=true
separator_block_width=20
[tether]
label=
command=$HOME/.scripts/net/getPhoneNetworkStatus.sh
interval=10
[tetherlevel]
label=
command=$HOME/.scripts/net/getPhoneNetworkStatus.sh level
interval=10
separator=true
separator_block_width=20
[battery]
command=$HOME/.scripts/power/battery.sh
interval=10
separator=true
separator_block_width=20
#[net_speed]
#label=
#command=$HOME/.scripts/net/net_speed.sh
#interval=1
#separator=true
#separator_block_width=20
[time]
label=
command=echo "`date +'%a %d %b'` <b>`date +'%T'`</b> "; [[ -z "${BLOCK_BUTTON}" ]] || /usr/bin/google-chrome-beta --app=https://calendar.google.com/
interval=1
markup=pango
separator_block_width=0