-
-
Notifications
You must be signed in to change notification settings - Fork 122
CLI
The YASB CLI is a command line interface that allows you to interact with the YASB status bar. The CLI is a powerful tool that allows you to manage your YASB bar, start, stop, enable autostart, disable autostart, reload, update and watch the logs in the terminal.
yasbc [command] [options]
-
start- Start the status bar. -
stop- Stop the status bar. -
enable-autostart- Enable autostart for the status bar on system boot. -
disable-autostart- Disable autostart for the status bar on system boot. -
reload- Reload the status bar configuration. -
monitor-information- Show information about connected monitors. -
hide-bar- Hide the status bar. -
show-bar- Show the status bar. -
toggle-bar- Toggle the visibility of the status bar. -
toggle-widget- Toggle the visibility of specific widget. -
update- Update aplicattion to the latest version. -
log- Show the status bar logs in the terminal. -
reset- Restore default config files and clear cache -
help- Show the help message.
-
--help- Show the help message for the command. -
--silent- Disable print messages forstart,stopandreload -
--version- Show the YASB version.
Note: You can use the
--silentoption with thestart,stopandreloadcommands to prevent non-error messages from being displayed.
To enable autostart for the status bar on system boot, use the following command:
yasbc enable-autostartTo disable autostart for the status bar on system boot, use the following command:
yasbc disable-autostartTo create task scheduler for autostart on windows, use the following command:
yasbc enable-autostart --taskTo disable task scheduler for autostart on windows, use the following command:
yasbc disable-autostart --taskNote: Creating a task scheduler for autostart on Windows requires administrator privileges.
To hide the status bar on all screens, use the following command:
yasbc hide-barTo hide the status bar on a specific screen, use the following command:
yasbc hide-bar --screen <screen_name>To show the status bar on all screens, use the following command:
yasbc show-barTo show the status bar on a specific screen, use the following command:
yasbc show-bar --screen <screen_name>To toggle the visibility of the status bar on all screens, use the following command:
yasbc toggle-barTo toggle the visibility of the status bar on a specific screen, use the following command:
yasbc toggle-bar --screen <screen_name>To toggle the visibility of a specific widget on screen, use the following command:
yasbc toggle-widget launchpad --screen 'DELL P2419H (2)'To toggle the visibility of a specific widget on screen where is mouse cursor, use the following command:
yasbc toggle-widget launchpad --follow-mouseTo toggle the visibility of a specific widget on screens where is focused window, use the following command:
yasbc toggle-widget launchpad --follow-focusedNote
The toggle-widget command is not available for all widgets, it is only available for widgets that support toggling visibility. On each widget page, you can find information about the widget and whether it supports toggling visibility.
- Home
- Installation
- Configuration
- Styling
- YASB CLI
- FAQ
- Contributing
- Writing Widget
- Widgets:
- Active Windows Title
- Ai Chat
- Applications
- Battery
- Bluetooth
- Brightness
- Cava
- CPU
- Clock
- Custom
- Github
- GlazeWM Binding Mode
- GlazeWM Tiling Direction
- GlazeWM Workspaces
- Grouper
- GPU
- Home
- Disk
- Language
- Launchpad
- Libre Hardware Monitor
- Media
- Memory
- Microphone
- Notifications
- Notes
- OBS
- Server Monitor
- Systray
- Todo
- Traffic
- Taskbar
- Pomodoro
- Power Menu
- Power Plan
- Recycle Bin
- Update Check
- Visual Studio Code
- Volume
- Wallpapers
- Weather
- WiFi
- WHKD
- Windows-Desktops
- Komorebi Control
- Komorebi Layout
- Komorebi Stack
- Komorebi Workspaces