-
-
Notifications
You must be signed in to change notification settings - Fork 195
(Widget) Microphone
github-actions edited this page Nov 11, 2024
·
16 revisions
| Option | Type | Default | Description |
|---|---|---|---|
label |
string | '{icon}' |
The format string for the microphone widget. Displays icon or level. |
label_alt |
string | '{icon} {level}%' |
The alternative format string for the microphone widget. Displays icon or level. |
icons |
dict | {'normal', 'muted' |
Icons for microphone widget |
callbacks |
dict | {'on_left': 'toggle_mute', 'on_middle': 'toggle_label', 'on_right': 'do_nothing'} |
Callbacks for mouse events on the memory widget. |
container_padding |
dict | {'top': 0, 'left': 0, 'bottom': 0, 'right': 0} |
Explicitly set padding inside widget container. |
microphone:
type: "yasb.microphone.MicrophoneWidget"
options:
label: '<span>{icon}</span>'
label_alt: '<span>{icon}</span> {level}%'
icons:
normal: "\uf130"
muted: "\uf131"
callbacks:
on_left: 'toggle_mute'
on_middle: 'toggle_label'
on_right: 'exec cmd.exe /c start ms-settings:sound'- label: The format string for the microphone widget. Displays the microphone icon or level.
- label_alt: The alternative format string for the microphone widget. Displays the microphone icon or level.
-
icons: A dictionary specifying the icons for the microphone widget. The keys are
normalandmuted, and the values are the unicode characters for the icons. -
callbacks: A dictionary specifying the callbacks for mouse events. The keys are
on_left,on_middle, andon_right, and the values are the names of the callback functions.
.microphone-widget {}
.microphone-widget .widget-container {}
.microphone-widget .label {}
.microphone-widget .label.alt {}
.microphone-widget .icon {}- Home
- Installation
- Configuration
- Keybindings
- Styling
- YASB CLI
- FAQ
- Contributing
- Writing Widget
- UI Components
- Widgets:
- Active Windows Title
- Ai Chat
- Applications
- Battery
- Bluetooth
- Brightness
- Cava
- Claude Usage
- Copilot
- CPU
- Clock
- Custom
- Github
- GlazeWM Binding Mode
- GlazeWM Tiling Direction
- GlazeWM Workspaces
- Glucose Monitor
- Grouper
- GPU
- Home
- Disk
- Do Not Disturb
- Language
- Launchpad
- Libre Hardware Monitor
- Media
- Memory
- Microphone
- Notifications
- Notes
- OBS
- Open Meteo
- Server Monitor
- Systray
- Todo
- Traffic
- Taskbar
- Pomodoro
- Power Menu
- Power Plan
- Quick Launch
- Recycle Bin
- Update Check
- Visual Studio Code
- Volume
- Wallpapers
- Weather
- WiFi
- WHKD
- Window Controls
- Window Switcher
- Windows Desktops
- Komorebi Control
- Komorebi Layout
- Komorebi Stack
- Komorebi Workspaces