-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yaml
149 lines (149 loc) · 4.16 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
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
blur_effect:
enabled: false
acrylic: false
dark_mode: false
round_corners: false
border_color: None
window_flags:
always_on_top: false
windows_app_bar: true
dimensions:
width: "100%"
height: 24
padding:
top: 4
left: 4
bottom: 0
right: 4
widgets:
left:
["win","apps","active_window"]
center: ["komorebi_workspaces"]
right: ["weather","whkd","taskbar","volume","power_menu","clock"]
widgets:
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: 36
max_length_ellipsis: "..."
monitor_exclusive: true
clock:
type: "yasb.clock.ClockWidget"
options:
label: "{%H:%M %a}"
label_alt: "{%A, %d %B %Y %H:%M}"
timezones: []
komorebi_workspaces:
type: "komorebi.workspaces.WorkspaceWidget"
options:
label_offline: "\u26a1 Offline"
label_workspace_btn: "{index}"
label_workspace_active_btn: "{index}"
label_workspace_populated_btn: "{index}"
label_default_name: "{index}"
label_zero_index: false
hide_empty_workspaces: false
hide_if_offline: false
animation: true
container_padding:
top: 0
left: 1
bottom: 0
right: 1
weather:
type: "yasb.weather.WeatherWidget"
options:
label: "<span>{icon}</span> {temp_c}"
label_alt: "{location}: Min {min_temp_c}, Max {max_temp_c}, Humidity {humidity}"
api_key: '3bf4cf9a7c3f40d6b31174128242807'
update_interval: 1200 # Seconds
hide_decimal: true
location: "USA Los Angeles 90006"
callbacks:
on_left: "toggle_label"
volume:
type: "yasb.volume.VolumeWidget"
options:
label: "<span>{icon}</span> {level}"
label_alt: "{volume}"
volume_icons:
- "\ueee8" # Icon for muted
- "\uf026" # Icon for 0-10% volume
- "\uf027" # Icon for 11-30% volume
- "\uf027" # Icon for 31-60% volume
- "\uf028" # Icon for 61-100% volume
callbacks:
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: 0
bottom: 0
right: 0
label: "{data}"
app_list:
- {icon: "\ueb51", launch: "quick_settings"}
- {icon: "\uf422", launch: "search"}
- {icon: "\ueb03", launch: "cmd /c Taskmgr"}
- {icon: "\uf489", launch: "wt"}
- {icon: "\uf1ff", launch: "C:\\Users\\amn\\AppData\\Local\\Discord\\Update.exe --processStart Discord.exe"}
- {icon: "\udb80\ude39", launch: "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}
whkd:
type: "yasb.whkd.WhkdWidget"
options:
label: "<span>\uf11c</span>"
win:
type: "yasb.custom.CustomWidget"
options:
label: "Menu"
label_alt: "Menu"
class_name: "custom-menu-widget"
callbacks:
on_left: "exec start_menu"
taskbar:
type: "yasb.taskbar.TaskbarWidget"
options:
animation: true
icon_size: 16
ignore_apps:
processes: []
titles: []
classes: []