Files
Windows11-Ricing/yasb/config.yaml
T

257 lines
6.4 KiB
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/amnweb/yasb/main/schema.json
# Configuration generated by YASB Setup Wizard.
# For more information, visit https://github.com/amnweb/yasb/wiki
watch_stylesheet: true
watch_config: true
debug: false
update_check: true
bars:
primary-bar:
enabled: true
screens:
- primary
class_name: yasb-bar
alignment:
position: top
align: center
animation:
enabled: true
duration: 300
blur_effect:
enabled: true
round_corners: false
window_flags:
always_on_top: false
windows_app_bar: true
dimensions:
width: 100%
height: 34
padding:
top: 0
left: 0
bottom: 0
right: 0
widgets:
left:
- open_meteo
center:
- clock
right:
- cpu
- memory
- traffic
- volume
- notifications
- power_menu
widgets:
home:
type: yasb.home.HomeWidget
options:
label: "<span>\uE8A9</span>"
menu_list:
- title: User Home
path: '~'
- title: Download
path: ~\Downloads
- title: Documents
path: ~\Documents
- title: Pictures
path: ~\Pictures
system_menu: false
power_menu: false
blur: true
round_corners: true
round_corners_type: normal
border_color: System
alignment: left
offset_left: -12
clock:
type: yasb.clock.ClockWidget
options:
label: '{%H:%M}<span>{alarm}</span>'
label_alt: '{%a, %d %b %H:%M}'
timezones: []
calendar:
blur: true
round_corners: true
alignment: center
direction: down
extended: false
show_years: true
show_holidays: false
show_week_numbers: true
callbacks:
on_left: toggle_calendar
on_middle: toggle_label
on_right: context_menu
volume:
type: yasb.volume.VolumeWidget
options:
label: <span>{icon}</span>
label_alt: <span>{icon}</span>{level}
tooltip: true
icons:
muted: "\uE74F"
'10': "\uE992"
'30': "\uE993"
'60': "\uE994"
'100': "\uE995"
callbacks:
on_left: toggle_volume_menu
on_right: toggle_mute
audio_menu:
blur: true
round_corners: true
round_corners_type: normal
border_color: system
alignment: right
direction: down
show_apps: true
show_app_labels: false
show_app_icons: true
show_apps_expanded: false
app_icons:
toggle_down: "\uE972"
toggle_up: "\uE971"
notifications:
type: yasb.notifications.NotificationsWidget
options:
label: "<span>\uF2A5</span>"
label_alt: '{count} notifications'
hide_empty: true
tooltip: false
callbacks:
on_left: toggle_notification
on_right: do_nothing
on_middle: do_nothing
power_menu:
type: yasb.power_menu.PowerMenuWidget
options:
label: "<span>\uE712</span>"
uptime: true
show_user: true
menu_style: popup
popup:
blur: true
round_corners: true
round_corners_type: normal
border_color: System
alignment: right
offset_left: 12
profile_image_size: 64
buttons:
lock:
- "\uDB80\uDF41"
- Lock
signout:
- "\uDB80\uDF43"
- Sign out
sleep:
- "\uDB82\uDD04"
- Sleep
hibernate:
- "\uDB82\uDD01"
- Hibernate
restart:
- "\uDB81\uDC53"
- Restart
shutdown:
- "\uDB82\uDD06"
- Shut Down
cancel:
- ''
- Cancel
cpu:
type: yasb.cpu.CpuWidget
options:
label: "<span>\uEEA1</span> {info[percent][total]}%"
label_alt: '{info[freq][current]} MHz'
update_interval: 2000
hide_decimal: true
menu:
enabled: true
show_graph: true
show_graph_grid: true
graph_history_size: 60
alignment: center
callbacks:
on_left: toggle_menu
on_middle: do_nothing
on_right: toggle_label
memory:
type: yasb.memory.MemoryWidget
options:
label: "<span>\uE9D9</span> {virtual_mem_free}"
label_alt: "<span>\uEFC5</span> VIRT: {virtual_mem_percent}% SWAP: {swap_mem_percent}%"
update_interval: 5000
hide_decimal: true
callbacks:
on_left: toggle_menu
on_middle: do_nothing
on_right: toggle_label
menu:
enabled: true
show_graph: true
show_graph_grid: true
graph_history_size: 60
alignment: center
open_meteo:
type: yasb.open_meteo.OpenMeteoWidget
options:
label: "<span>\uE706</span>{temp}"
label_alt: '{location}: Min {min_temp}, Max {max_temp}, Humidity {humidity}'
tooltip: true
update_interval: 600
hide_decimal: true
units: metric
callbacks:
on_left: toggle_card
on_middle: do_nothing
on_right: toggle_label
icons:
sunnyDay: "\uE706"
clearNight: "\uEC46"
weather_card:
blur: true
alignment: right
direction: down
icon_size: 32
show_hourly_forecast: true
time_format: 24h
hourly_point_spacing: 76
hourly_icon_size: 16
icon_smoothing: true
temp_line_width: 2
current_line_color: '#8EAEE8'
current_line_width: 1
current_line_style: dot
hourly_forecast_buttons:
enabled: false
weather_animation:
enabled: true
snow_overrides_rain: true
temp_line_animation_style: both
rain_effect_intensity: 1.0
snow_effect_intensity: 1.0
scale_with_chance: true
traffic:
type: "yasb.traffic.TrafficWidget"
options:
label: "\ueab4 {download_speed} | \ueab7 {upload_speed}"
label_alt: "Download {download_speed} | Upload {upload_speed}"
update_interval: 1000
speed_unit: bytes
hide_decimal: true
menu:
blur: true
round_corners: true
round_corners_type: "normal"
border_color: "system"
alignment: "left"
direction: "down"
offset_top: 6
offset_left: 0
callbacks:
on_left: "toggle_menu"
on_right: "toggle_label"