-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathconfig.yaml
257 lines (257 loc) · 6.66 KB
/
config.yaml
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# This is default and very simple configuration file for Yasb.
# For more information about configuration options, please visit the Wiki https://github.com/amnweb/yasb/wiki
watch_stylesheet: true
watch_config: true
debug: false
komorebi:
start_command: "komorebic start --whkd"
stop_command: "komorebic stop --whkd"
reload_command: "komorebic stop --whkd && komorebic start --whkd"
bars:
primary-bar:
enabled: true
screens: ["*"]
class_name: "yasb-bar"
alignment:
position: "top"
center: false
animation:
enabled: true
duration: 1000
blur_effect:
enabled: false
acrylic: false
dark_mode: false
round_corners: false
round_corners_type: "normal"
border_color: "System"
window_flags:
always_on_top: false
windows_app_bar: true
dimensions:
width: "100%"
height: 32
padding:
top: 4
left: 6
bottom: 0
right: 6
widgets:
left: [
"home",
"komorebi_workspaces",
"komorebi_active_layout",
"active_window",
]
center: [
"clock",
"apps"
]
right: [
"media",
"taskbar",
"weather",
"microphone",
"volume",
"power_menu"
]
widgets:
home:
type: "yasb.home.HomeWidget"
options:
label: "<span>\udb81\udf17</span>"
menu_list:
- { title: "User Home", path: "~" }
- { title: "Download", path: "~\\Downloads" }
- { title: "Documents", path: "~\\Documents" }
- { title: "Pictures", path: "~\\Pictures" }
system_menu: true
power_menu: true
blur: false
media:
type: "yasb.media.MediaWidget"
options:
label: "{title}"
label_alt: "{artist}"
max_field_size:
label: 64
label_alt: 24
show_thumbnail: true
controls_only: false
controls_left: true
hide_empty: true
thumbnail_alpha: 150
thumbnail_padding: 8
thumbnail_corner_radius: 0
icons:
prev_track: "\ue892"
next_track: "\ue893"
play: "\ue768"
pause: "\ue769"
active_window:
type: "yasb.active_window.ActiveWindowWidget"
options:
label: "{win[title]}"
label_alt: "[class_name='{win[class_name]}' exe='{win[process][name]}' hwnd={win[hwnd]}]"
label_no_window: ""
label_icon: true
label_icon_size: 14
max_length: 56
max_length_ellipsis: "..."
monitor_exclusive: false
clock:
type: "yasb.clock.ClockWidget"
options:
label: "{%a, %d %b %H:%M}"
label_alt: "{%A, %d %B %Y %H:%M}"
timezones: []
callbacks:
on_left: "toggle_label"
komorebi_workspaces:
type: "komorebi.workspaces.WorkspaceWidget"
options:
label_offline: "\u23fc Offline"
label_workspace_btn: "\udb81\udc3d"
label_workspace_active_btn: ""
label_workspace_populated_btn: "\udb81\udc3e"
label_default_name: "{index}"
label_zero_index: false
hide_empty_workspaces: false
hide_if_offline: true
animation: true
container_padding:
top: 0
left: 8
bottom: 0
right: 8
komorebi_active_layout:
type: "komorebi.active_layout.ActiveLayoutWidget"
options:
hide_if_offline: true
label: "{icon}"
layouts:
[
"bsp",
"columns",
"rows",
"grid",
"vertical_stack",
"horizontal_stack",
"ultrawide_vertical_stack",
"right_main_vertical_stack",
]
layout_icons:
bsp: "BSP"
columns: "COLS"
rows: "ROWS"
grid: "GRID"
vertical_stack: "V-STACK"
horizontal_stack: "H-STACK"
ultrawide_vertical_stack: "W-STACK"
right_main_vertical_stack: "RMV-STACK"
monocle: "MONOCLE"
maximised: "MAX"
floating: "FLOATING"
paused: "PAUSED"
container_padding:
top: 0
left: 8
bottom: 0
right: 8
callbacks:
on_left: "next_layout"
on_middle: "toggle_monocle"
on_right: "prev_layout"
weather:
type: "yasb.weather.WeatherWidget"
options:
label: "<span>{icon}</span> {temp}"
label_alt: "{location}: Min {min_temp}, Max {max_temp}, Humidity {humidity}"
api_key: "3bf4cf9a7c3f40d6b31174128242807"
update_interval: 600
hide_decimal: true
location: "USA Los Angeles 90006"
callbacks:
on_left: "toggle_label"
icons:
sunnyDay: "\udb81\udd99"
clearNight: "\udb81\udd99"
cloudyDay: "\udb81\udd99"
cloudyNight: "\udb81\udd99"
rainyDay: "\udb81\udd99"
rainyNight: "\udb81\udd99"
snowyIcyDay: "\udb81\udd99"
snowyIcyNight: "\udb81\udd99"
blizzard: "\udb81\udd99"
default: "\udb81\udd99"
volume:
type: "yasb.volume.VolumeWidget"
options:
label: "<span>{icon}</span> {level}"
label_alt: "{volume}"
tooltip: false
volume_icons:
- "\ueee8"
- "\uf026"
- "\uf027"
- "\uf027"
- "\uf028"
callbacks:
on_left: "toggle_mute"
on_right: "exec cmd.exe /c start ms-settings:sound"
microphone:
type: "yasb.microphone.MicrophoneWidget"
options:
label: "<span>{icon}</span> {level}"
label_alt: "<span>{icon}</span> {level}%"
icons:
normal: "\udb80\udf6c"
muted: "\udb80\udf6d"
callbacks:
on_left: "toggle_mute"
on_middle: "toggle_label"
on_right: "exec cmd.exe /c start ms-settings:sound"
power_menu:
type: "yasb.power_menu.PowerMenuWidget"
options:
label: "\uf011"
uptime: True
blur: False
blur_background: True
animation_duration: 200
button_row: 5
buttons:
shutdown: ["\uf011", "Shut Down"]
restart: ["\uead2", "Restart"]
signout: ["\udb80\udf43", "Sign out"]
hibernate: ["\uf28e", "Hibernate"]
sleep: ["\u23fe", "Sleep"]
cancel: ["", "Cancel"]
apps:
type: "yasb.applications.ApplicationsWidget"
options:
container_padding:
top: 0
left: 8
bottom: 0
right: 8
label: "{data}"
app_list:
- { icon: "\uf422", launch: "search" }
- { icon: "\ueb03", launch: "cmd /c Taskmgr" }
- { icon: "\udb80\ude39",launch: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" }
taskbar:
type: "yasb.taskbar.TaskbarWidget"
options:
animation:
enabled: true
icon_size: 16
ignore_apps:
processes: []
titles: []
classes: []
container_padding:
top: 0
left: 0
bottom: 0
right: 0