Files
.dotfiles/YASB/config.yaml
Cody Gibbs e7235f0dab I am batman
2026-05-29 13:53:56 -04:00

320 lines
8.8 KiB
YAML

watch_config: true
debug: false
update_check: true # Enable automatic update check.
komorebi:
start_command: "glazewm.exe start"
stop_command: "glazewm.exe command wm-exit"
reload_command: "glazewm.exe command wm-exit && glazewm.exe start"
bars:
primary-bar:
enabled: true
screens: ["primary"]
class_name: "yasb-bar"
alignment:
position: "top"
center: false
animation:
enabled: true
duration: 1000
blur_effect:
enabled: true
acrylic: true
dark_mode: true
round_corners: true
round_corners_type: "normal"
border_color: "#8dbcff"
window_flags:
always_on_top: false
windows_app_bar: true
dimensions:
width: "100%"
height: 26
padding:
top: 6
left: 6
bottom: 0
right: 6
widgets:
left: [
"glazewm_tiling_direction",
"glazewm_workspaces",
"pomodoro",
"active_window"
]
center: [
"clock"
]
right: [
"cava",
"weather",
"microphone",
"cpu",
"memory",
"wallpapers",
"power_menu"
]
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: 46
max_length_ellipsis: "..."
monitor_exclusive: true
clock:
type: "yasb.clock.ClockWidget"
options:
label: "{%I:%M:%S}"
label_alt: "{%I:%M:%S}"
timezones: []
callbacks:
on_left: "toggle_calendar"
weather:
type: "yasb.weather.WeatherWidget"
options:
label: "<span>{icon}</span> {temp}"
label_alt: "{location}: Min {min_temp}, Max {max_temp}, Humidity {humidity}"
api_key: # Get your free API key from https://www.weatherapi.com/
update_interval: 600
hide_decimal: true
location: # You can use "USA Los Angeles 90006" {COUNTRY CITY ZIP_CODE}, or just city.
callbacks:
on_left: "toggle_card"
icons:
sunnyDay: "\ue30d"
clearNight: "\ue32b"
cloudyDay: "\ue312"
cloudyNight: "\ue311"
rainyDay: "\ue308"
rainyNight: "\ue333"
snowyIcyDay: "\ue30a"
snowyIcyNight: "\ue335"
blizzardDay: "\udb83\udf36"
blizzardNight: "\udb83\udf36"
foggyDay: "\ue303"
foggyNight: "\ue346"
thunderstormDay: "\ue30f"
thunderstormNight: "\ue338"
default: "\uebaa"
weather_card:
blur: True
round_corners: True
round_corners_type: "normal"
border_color: "System"
alignment: "right"
direction: "down"
icon_size: 64
show_hourly_forecast: True # Set to False to disable hourly forecast
time_format: "12h" # can be 12h or 24h
hourly_point_spacing: 76
hourly_icon_size: 32 # better to set 16, 32 or 64 for better quality
icon_smoothing: true # should be true for smoother icon or false for sharper icon if using 16, 32 or 64 for hourly_icon_size
temp_line_width: 2 # can be 0 to hide the temperature line
current_line_color: "#8EAEE8"
current_line_width: 1 # can be 0 to hide the current hour line
current_line_style: "dot"
label_shadow:
enabled: true
color: "black"
radius: 3
offset: [ 1, 1 ]
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", "Rage Quit"]
restart: ["\uead2", "Oops, Reboot"]
signout: ["\udb80\udf43", "Dip Out"]
hibernate: ["\uf28e", "Bear Mode"]
sleep: ["\u23fe", "Nap Time"]
cancel: ["", "Nah, Im Good "]
wallpapers:
type: "yasb.wallpapers.WallpapersWidget"
options:
label: "<span>\udb83\ude09</span>"
image_path: # Example path to folder with images
change_automatically: false # Automatically change wallpaper
update_interval: 60 # If change_automatically is true, update interval in seconds
gallery:
enabled: true
blur: true
image_width: 220
image_per_page: 8
show_buttons: true
orientation: "portrait"
image_spacing: 8
lazy_load: true
lazy_load_delay: 80
lazy_load_fadein: 400
image_corner_radius: 20
enable_cache: true
cava:
type: "yasb.cava.CavaWidget"
options:
bar_height: 12
min_bar_height: 0
gradient: 1
reverse: 0
foreground: "#89b4fa"
gradient_color_1: '#74c7ec'
gradient_color_2: '#89b4fa'
gradient_color_3: '#cba6f7'
bars_number: 8
bar_spacing: 2
bar_width: 4
hide_empty: true
container_padding:
top: 0
left: 8
bottom: 0
right: 8
cpu:
type: "yasb.cpu.CpuWidget"
options:
label: "{info[percent][total]:.0f}%"
progress_bar:
enabled: true
position: "left"
size: 16
thickness: 3
color: "#89dceb"
background_color: "#1e1e2e"
animation: true
animation:
enabled: true
type: FadeInOut
duration: 200
update_interval: 2000
callbacks:
on_right: "do_nothing"
on_left: "do_nothing"
glazewm_workspaces:
type: "glazewm.workspaces.GlazewmWorkspacesWidget"
options:
# Offline behavior (matching komorebi's label_offline and hide_if_offline)
offline_label: "GlazeWM Offline"
hide_if_offline: true
# Workspace display labels (matching komorebi's label_workspace_btn and label_workspace_active_btn)
populated_label: "\udb85\udcfc"
empty_label: "\udb85\udcfc"
active_populated_label: "\udb85\udcfb"
active_empty_label: "\udb85\udcfb"
# Workspace management (matching komorebi's hide_empty_workspaces)
hide_empty_workspaces: false
# Server connection
glazewm_server_uri: "ws://localhost:6123"
# Additional GlazeWM-specific options (keeping defaults)
enable_scroll_switching: true
reverse_scroll_direction: true
container_padding:
top: 0
left: 0
bottom: 0
right: 0
glazewm_tiling_direction:
type: "glazewm.tiling_direction.GlazewmTilingDirectionWidget"
options:
horizontal_label: "\udb81\udce1"
vertical_label: "\udb81\udce2"
btn_shadow:
enabled: true
color: "black"
radius: 3
offset: [ 1, 1 ]
pomodoro:
type: "yasb.pomodoro.PomodoroWidget"
options:
label: "<span>{icon}</span> {remaining}"
label_alt: "<span>{icon}</span> {session}/{total_sessions} - {status}"
work_duration: 25
break_duration: 5
long_break_duration: 15
long_break_interval: 4
auto_start_breaks: true
auto_start_work: true
sound_notification: true
show_notification: true
hide_on_break: false
session_target: 8
icons:
work: "\uf252"
break: "\uf253"
paused: "\uf254"
container_padding:
top: 0
left: 6
bottom: 0
right: 6
menu:
blur: true
round_corners: true
round_corners_type: "normal"
border_color: "System"
alignment: "right"
direction: "down"
offset_top: 6
offset_left: 0
circle_background_color: "#09ffffff"
circle_work_progress_color: "#88c0d0"
circle_break_progress_color: "#a3be8c"
circle_thickness: 8
circle_size: 160
callbacks:
on_left: "toggle_menu"
on_middle: "reset_timer"
on_right: "toggle_label"
label_shadow:
enabled: true
color: "black"
radius: 3
offset: [ 1, 1 ]
memory:
type: "yasb.memory.MemoryWidget"
options:
label: "{virtual_mem_percent}%"
update_interval: 5000
progress_bar:
enabled: true
size: 16
thickness: 3
position: left
color: "#cba6f7"
background_color: "#1e1e2e"
animation: True
animation:
enabled: true
type: FadeInOut
duration: 200
callbacks:
on_left: "do_nothing"
memory_thresholds:
low: 25
medium: 50
high: 90