-
Notifications
You must be signed in to change notification settings - Fork 0
/
i3status.conf
93 lines (79 loc) · 2.36 KB
/
i3status.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
output_format = "i3bar"
colors = true
interval = 5
color_bad = "#D64937"
color_good = "#8bdd58"
color_degraded = "#D69937"
}
order += "window_title"
order += "mpd_status"
order += "dpms"
order += "cpu_usage"
order += "net_rate"
order += "volume master"
order += "battery 1"
order += "load"
order += "tztime local"
window_title {
cache_timeout = 7
max_width = 72
on_click 1 = "exec --no-startup-id ~/.i3/bin/get_500px.sh"
on_click 3 = "kill"
on_click 4 = "exec --no-startup-id ~/.i3/bin/tab_i3_windows.sh"
}
mpd_status {
cache_timeout = 31
color = "#e788b1"
format = {state} {pos} . {title}@{artist} [{time}]
hide_when_paused = False
hide_when_stopped = True
# host = 'localhost'
max_width = 120
# password = None
# port = '6600
on_click 1 = "exec --no-startup-id mpc toggle"
on_click 3 = "exec --no-startup-id mpc stop"
on_click 4 = "exec --no-startup-id mpc prev"
on_click 5 = "exec --no-startup-id mpc next"
}
net_rate {
interfaces = wlp8s0b1
format = "{total}"
on_click 1 = "exec --no-startup-id chromium"
on_click 3 = "exec --no-startup-id smplayer"
}
volume master {
format = "♪: %volume"
device = "default"
mixer = "Master"
mixer_idx = 0
on_click 1 = "exec --no-startup-id mpc toggle"
on_click 2 = "exec --no-startup-id amixer set Master toggle"
on_click 3 = "exec --no-startup-id i3-sensible-terminal -e alsamixer"
# on_click 3 = "exec --no-startup-id killall alsamixer"
on_click 4 = "exec --no-startup-id amixer set Master 1+"
on_click 5 = "exec --no-startup-id amixer set Master 1-"
}
battery 1 {
format = "%status %percentage"
# path = "/sys/class/power_supply/BAT1/uevent"
low_threshold = 40
threshold_type = percent
}
tztime local {
format = "%d-%a %H:%M:%S"
}
load {
format = "%1min"
on_click 1 = "exec --no-startup-id pcmanfm"
on_click 3 = "exec --no-startup-id xfce4-appfinder"
on_click 4 = "exec --no-startup-id python ~/.i3/bin/cycle_i3_windows.py"
on_click 5 = "restart"
}