YASB (Yet Another Status Bar) Documentation
repository·main·Indexed 24 days ago
https://github.com/amnweb/yasbA highly configurable Windows status bar written in Python. YASB allows users to display system information, application controls, and various widgets on their desktop. Documentation covers installation via WinGet, Scoop, Chocolatey, and MSI; management via the yasbc CLI; configuration of bar positions and screen assignments; and development guidelines for creating new widgets.
What's inside YASB
- YASB is designed to run exclusively on Windows. It is not supported on other operating systems.
Use the Window Switcher Provider
mainQuickly search and switch between currently open application windows. Use the prefixwinfollowed by a window title or application name to filter the list. If no query is provided, windows are listed in Z-order.Use the Settings Provider
mainThe Settings Provider provides quick access to Windows Settings pages using the
@prefix.@wifi @bluetooth @displayInstall YASB via Chocolatey
mainInstall YASB using the Chocolatey package manager.
choco install yasbUse Launchpad features: Search, Grouping, and Drag-and-Drop
mainThe Launchpad widget supports several advanced interaction patterns:
- Search: Filter apps in real-time. Use the syntax
group:nameto filter specifically by a group name. - App Grouping: Organize apps into categories. Click group icons to enter them, and press
Backspaceto exit a group. - Drag & Drop: Drag executables or shortcuts directly into the grid to add them. You can also reorder apps by dragging them within the grid. Dropping an app onto a group icon automatically assigns it to that group.
- Context Menu: Right-click an app to edit, delete, assign to a group, or change sorting (A-Z, Z-A, recent, oldest). Right-click a group to rename it.
- Search: Filter apps in real-time. Use the syntax
Install YASB via MSI installers
mainTo install a stable release of YASB, download the appropriate
.msiinstaller from the releases page based on your system architecture (x64 or ARM64) and run it.For the latest development/preview builds, download the
yasb-preview-{architecture}.msiinstaller from the pre-release page.Configure the Komorebi Workspaces Widget
mainThe
WorkspaceWidgetdisplays Komorebi workspaces, allowing for workspace switching via clicking or scrolling. It supports indicators for active and populated states, toggling between tiling and floating layers, and displaying running app icons.To use this widget, add it to your configuration with the type
komorebi.workspaces.WorkspaceWidget.komorebi_workspaces: type: "komorebi.workspaces.WorkspaceWidget" options: label_offline: "Komorebi Offline" label_workspace_btn: "\udb81\udc3d" label_workspace_active_btn: "\udb81\udc3e" label_workspace_populated_btn: "\udb81\udc3e" label_default_name: "" label_zero_index: false hide_empty_workspaces: false hide_if_offline: false toggle_workspace_layer: enabled: false tiling_label: "Tiling" floating_label: "Floating" app_icons: enabled_populated: false enabled_active: false size: 12 max_icons: 0 hide_label: false hide_duplicates: false hide_floating: falseConfigure the Weather Widget
mainThe Weather Widget displays current weather conditions and temperature. To use it, you must obtain a free API key from weatherapi.com and provide it in the
api_keyoption.Basic Setup
Set the
typetoyasb.weather.WeatherWidgetand provide the requiredapi_keyandlocation.weather: type: "yasb.weather.WeatherWidget" options: api_key: "YOUR_API_KEY" location: "Los Angeles, CA, USA"Set a custom configuration directory
mainTo use a directory other than the default, set theYASB_CONFIG_HOMEenvironment variable to your desired path.Install and run YASB using Python
mainEnsure you have Python >= 3.14 installed. You can install YASB as a regular application, a development environment, or a packaging development environment using
pip.To start the application after installation, run
python src/main.pyfrom the project root.Install community themes using Themes Manager
mainYou can browse and install community-created styles using the Themes Manager (
yasb_themes.exe).How to launch Themes Manager:
- System Tray: Right-click the YASB icon in the system tray and select Get Themes.
- Direct Execution: Run
yasb_themes.exefrom your YASB installation folder. - One-Click Installation: Use the
yasb-themes://protocol by clicking install buttons on the official yasb.dev website.
Configure the Power Menu Widget
mainThe Power Menu Widget provides quick access to system actions like shutdown, restart, sleep, lock, or logout. It supports two display modes:
fullscreen(a centered dialog with a blurred overlay) andpopup(a compact dropdown anchored to the bar button).power_menu: type: "yasb.power_menu.PowerMenuWidget" options: label: "\uf011" uptime: true show_user: true menu_style: "fullscreen" profile_image_size: 80 buttons: restart: ["\uead2", "Restart"] shutdown: ["\uf011", "Shut Down"] signout: ["\udb80\udf43", "Sign out"] hibernate: ["\uf28e", "Hibernate"] lock: ["\uea75", "Lock"] cancel: ["\udb81\udf3a", "Cancel"]