blob: ed5371a96c3dde1dab57ac5cb691a257db0a11e1 (
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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
[barsettings]
padding = 1.9
include-file = ./colors.ini
[global/wm]
margin-bottom = 50
margin-top = 0
[bar/main]
tray-position = right
tray-padding = ${barsettings.padding}
tray-background = ${color.bg}
tray-margin = 8
monitor =
monitor-fallback =
monitor-strict = false
override-redirect = false
bottom = false
fixed-center = true
width = 100%
height = 20
offset-x = 0
offset-y = 0
background = ${color.bg}
foreground = ${color.fg}
radius-top = 0.0
radius-bottom = 0.0
padding = 5
module-margin-left = 1
module-margin-right = 1
font-0 = "sans-serif:pixelsize=8:weight=regular:size=0;2"
font-1 = "sans-serif:pixelsize=8:weight=bold:size=0;2"
font-2 = "Hiragino Kaku Gothic ProN W3:pixelsize=8:weight=medium:size=0;1"
font-3 = "Hiragino Kaku Gothic ProN W6:pixelsize=8:weight=medium:size=0;1"
font-4 = "Noto Sans KR:pixelsize=8:weight=medium:size=0;2"
modules-left = time date cal
{% if yadm.hostname == "thoncc" %}
modules-center = battery1 battery2 brightness
modules-right = mpd wireless keyboard volume
{% else %}
modules-center = mpd
modules-right = wacomtouch keyboard volume
{% endif %}
separator =
spacing = 0
dim-value = 1.0
wm-name =
locale = {{ env.LANG }}
wm-restack = i3
enable-ipc = true
click-left =
click-middle =
click-right =
scroll-up =
scroll-down =
double-click-left =
double-click-middle =
double-click-right =
cursor-click =
cursor-scroll =
[settings]
screenchange-reload = false
compositing-background = source
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over
format-foreground = ${color.fg}
format-background = ${color.bg}
format-padding = ${barsettings.padding}
pseudo-transparency = false
[module/volume]
type = internal/pulseaudio
format-volume = <label-volume>
label-volume = %percentage%%
label-muted = "muted"
[module/date]
type = internal/date
interval = 1.0
time = %m月%d日 (%a)
format = <label>
label = %time%
[module/time]
type = internal/date
interval = 1.0
time = %H:%M
format = <label>
label = %time%
label-font = 2
[module/keyboard]
type = custom/script
exec = ~/.local/share/bin/kbindicator
tail = true
[module/cal]
type = custom/script
exec = now | ansi2polybar
interval = 60
[module/mpd]
type = internal/mpd
format-online = <label-song>
format-offline =
format-stopped =
label-song = %artist% - %{T2}%title%%{T-}
label-song-maxlen = 50
label-song-ellipsis = true
[module/wacomtouch]
type = custom/script
exec = ~/.local/share/bin/wacomtouch
interval = 1
[module/battery1]
type = internal/battery
battery = BAT0
adapter = AC
poll-interval = 5
format-charging = <label-charging>
format-charging-foreground = ${color.fg-half}
format-full = 100%
format-discharging = <label-discharging>
label-charging = %percentage%%
label-discharging = %percentage%%
[module/battery2]
type = internal/battery
battery = BAT1
adapter = AC
poll-interval = 5
format-charging = <label-charging>
format-charging-foreground = ${color.fg-half}
format-full = 100%
format-discharging = <label-discharging>
label-charging = %percentage%%
label-discharging = %percentage%%
[module/brightness]
type = internal/backlight
card = intel_backlight
format = <label>
[module/wireless]
type = internal/network
interface = wlan0
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-connected = %essid%
label-disconnected = no network
; vim:ft=dosini
|