Skip to content

Commit d4c2e94

Browse files
committed
🔨 chore: modified yasb bar config
1 parent c56e2cb commit d4c2e94

File tree

2 files changed

+178
-334
lines changed

2 files changed

+178
-334
lines changed

config/yasb/config.yaml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ debug: false # Enable debug mode to see more logs
77
komorebi:
88
start_command: "komorebic start --whkd"
99
stop_command: "komorebic stop --whkd"
10-
reload_command: "komorebic reload-configuration"
10+
reload_command: "komorebic stop --whkd && komorebic start --whkd"
1111

1212
# This is the main configuration file for Yet Another Status Bar (YASB)
1313
bars:
@@ -20,50 +20,49 @@ bars:
2020
position: "top"
2121
center: false
2222
blur_effect:
23-
enabled: false
24-
acrylic: false
23+
enabled: false
24+
acrylic: false
2525
dark_mode: false
26-
round_corners: false
26+
round_corners: true
2727
border_color: None
2828
window_flags:
2929
always_on_top: false
3030
windows_app_bar: true
3131
dimensions:
3232
width: "100%"
33-
height: 36
33+
height: 32
3434
padding:
35-
top: 4
36-
left: 0
37-
bottom: 4
38-
right: 0
35+
top: 2
36+
left: 15
37+
bottom: 2
38+
right: 15
3939
widgets:
4040
left:
4141
[
42-
"win_button",
43-
"github",
44-
"apps",
42+
#"win_button",
4543
"komorebi_workspaces",
46-
"komorebi_active_layout",
47-
"active_window"
44+
"media",
45+
#"komorebi_active_layout",
46+
#"active_window"
4847
]
4948
center: [
5049
"clock",
51-
#"github",
5250
]
5351
right:
5452
[
55-
"media",
53+
#"github",
5654
"wifi",
5755
"weather",
5856
"volume",
5957
#"battery",
6058
#"language",
6159
#"ip_info",
6260
"cpu",
63-
"disk",
61+
#"disk",
6462
"memory",
6563
#"wallapers",
6664
#"traffic",
65+
#"apps",
6766
"power_menu"
6867
]
6968
widgets:
@@ -72,7 +71,7 @@ widgets:
7271
options:
7372
label: "{volume_label} {space[used][percent]}"
7473
label_alt: "{volume_label} {space[used][gb]} / {space[total][gb]}"
75-
volume_label: "C"
74+
#volume_label: "C"
7675
update_interval: 60 # Update interval in seconds
7776
callbacks:
7877
on_middle: "do_nothing"
@@ -81,23 +80,23 @@ widgets:
8180
media:
8281
type: "yasb.media.MediaWidget"
8382
options:
84-
label: "{title} - {artist}"
85-
label_alt: "{title}"
83+
label: "<span>\uf001</span> {title} - {artist}"
84+
label_alt: "<span>\uf001</span> {title}"
8685
max_field_size:
87-
label: 20
88-
label_alt: 30
86+
label: 30
87+
label_alt: 24
8988
show_thumbnail: true
9089
controls_only: false
9190
controls_left: true
9291
hide_empty: true
9392
thumbnail_alpha: 80
9493
thumbnail_padding: 8
95-
thumbnail_corner_radius: 16 # Set to 0 for square corners
94+
thumbnail_corner_radius: 15 # Set to 0 for square corners
9695
icons:
97-
prev_track: "\ue892"
98-
next_track: "\ue893"
99-
play: "\ue768"
100-
pause: "\ue769"
96+
prev_track: "" #"\ue892"
97+
next_track: "" #"\ue893"
98+
play: "" #"\ue768"
99+
pause: "" #"\ue769"
101100

102101
active_window:
103102
type: "yasb.active_window.ActiveWindowWidget"
@@ -242,10 +241,10 @@ widgets:
242241
options:
243242
label: "<span>{icon}</span> {temp_c}"
244243
label_alt: "{location}: Min {min_temp_c}, Max {max_temp_c}, Humidity {humidity}"
245-
api_key: '3bf4cf9a7c3f40d6b31174128242807' # Get your free API key from https://www.weatherapi.com/
244+
api_key: 'dc830d76d08245e3b7135513241311' # Get your free API key from https://www.weatherapi.com/
246245
update_interval: 600 # Update interval in seconds, Min 600 seconds
247246
hide_decimal: true
248-
location: 'Los Angeles, CA, USA' # You can use "USA Los Angeles 90006" {COUNTRY CITY ZIP_CODE}, or just city.
247+
location: 'Ho Chi Minh City' # You can use "USA Los Angeles 90006" {COUNTRY CITY ZIP_CODE}, or just city.
249248
callbacks:
250249
on_left: "toggle_label"
251250
icons:
@@ -301,14 +300,15 @@ widgets:
301300
options:
302301
label: "{data}"
303302
app_list:
304-
- {icon: "\uf489", launch: "wt"}
303+
- {icon: "\uf282", launch: "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"}
304+
#- {icon: "\udb80\ude39", launch: "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}
305305
- {icon: "\udb82\ude1e", launch: "C:\\Users\\jqnhi\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"}
306-
- {icon: "\udb80\ude39", launch: "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"}
306+
- {icon: "\uf489", launch: "wt"}
307+
- {icon: "\uf413", launch: "explorer"}
308+
- {icon: "\uf0a2", launch: "notification_center"}
307309
- {icon: "\ueb51", launch: "quick_settings"}
308310
- {icon: "\uf46a", launch: "cmd.exe /c start ms-settings:windowsupdate"}
309311
- {icon: "\uf422", launch: "search"}
310-
- {icon: "\uf0a2", launch: "notification_center"}
311-
#- {icon: "\uf413", launch: "explorer c:\\Users\\amn"}
312312
#- {icon: "\uf1ff", launch: "C:\\Users\\amn\\AppData\\Local\\Discord\\Update.exe --processStart Discord.exe"}
313313
#- {icon: "\ue217", launch: "C:\\Users\\amn\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe"}
314314
#- {icon: "\udb84\udf55", launch: "widget"}
@@ -351,8 +351,8 @@ widgets:
351351
win_button:
352352
type: "yasb.custom.CustomWidget"
353353
options:
354-
label: "\ue62a"
355-
label_alt: "\ue62a"
354+
label: "<span>\uf40e</span>"
355+
label_alt: "<span>\uf40e</span>"
356356
class_name: "system-widget"
357357
callbacks:
358358
on_left: "exec start_menu"

0 commit comments

Comments
 (0)