aboutsummaryrefslogtreecommitdiff
path: root/.config/polybar/config.ini##template
blob: 38f679704a4cde6409e11fbffb532071be541583 (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
[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 = 2

module-margin-left = 0
module-margin-right = 0

font-0 = "JetBrains Mono Nerd Font:pixelsize=8:weight=regular:size=0;2"
font-1 = "JetBrains Mono Nerd Font:pixelsize=8:weight=bold:size=0;2"
font-2 = "Hiragino Kaku Gothic ProN W6:pixelsize=8:weight=medium:size=0;1"
font-3 = "Noto Sans KR:pixelsize=8:weight=medium:size=0;2"

{% if yadm.hostname == "thoncc" %}
modules-left = time date mpd
modules-center = battery1 battery2 brightness
modules-right = wireless keyboard volume whoami
{% else %}
modules-left = time date
modules-center = mpd
modules-right = wacomtouch keyboard volume whoami
{% endif %}

separator =

spacing = 0

dim-value = 1.0

wm-name = 

locale = ja_JP.UTF-8

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 = %{T2}%H時%M分%{T-}
format = <label>
label = %time%

[module/whoami]
type = custom/script
exec = echo "%{T2}$(id -u -n)%{T-}@%{T2}$(uname -n)%{T-}"
interval = 9999999
label-font = 2

[module/keyboard]
type = custom/script
exec = ~/.local/share/bin/kbindicator
tail = true
label-font = 1

{% include "config.{{ yadm.hostname }}.ini" %}

; vim:ft=dosini