-
-
Notifications
You must be signed in to change notification settings - Fork 725
Module: Sndio
WuerfelDev edited this page Oct 6, 2021
·
3 revisions
The sndio
module displays the current volume reported by sndio.
Additionally, you can control the volume by scrolling up or down while the cursor is over the module, and clicking on the module toggles mute.
option | typeof | default | description |
---|---|---|---|
format |
string | {volume}% |
The format for how information should be displayed. |
format-bluetooth |
string | This format is used when using bluetooth speakers. | |
rotate |
integer | 0 | Positive value to rotate the text label. |
max-length |
integer | The maximum length in character the module should display. | |
scroll-step |
integer | 5 | The speed in which to change the volume when scrolling. |
on-click |
string | Command to execute when clicked on the module. This replaces the default behaviour of toggling mute. |
|
on-click-middle |
string | Command to execute when you middle clicked on the module using mousewheel. | |
on-click-right |
string | Command to execute when you right clicked on the module. | |
on-scroll-up |
string | Command to execute when scrolling up on the module. This replaces the default beaviour of volume control. |
|
on-scroll-down |
string | Command to execute when scrolling down on the module. This replaces the default beaviour of volume control. |
|
on-update |
string | Command to execute when the module is updated. | |
smooth-scrolling-threshold |
double | Threshold to be used when scrolling. | |
tooltip |
bool | true |
Option to enable tooltip on hover. |
string | replacement |
---|---|
{volume} |
Volume in percentage. |
{raw_volume} |
Volume as reported by sndio. |
"sndio": {
"format": "{raw_value} 🎜",
"scroll-step": 3
}
#sndio
#sndio.muted
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- Clock
- Custom
- DWL
- Disk
- Gamemode
- Group
- Hyprland
- Idle Inhibitor
- Image
- JACK
- Keyboard State
- Language
- Load
- MPD
- MPRIS
- Memory
- Network
- Niri
- Power Profiles Daemon
- Privacy
- PulseAudio/Slider
- PulseAudio
- River
- Sndio
- Sway
- Systemd failed units
- Taskbar
- Temperature
- Tray
- UPower
- User
- WirePlumber
- Workspaces
- Writing Modules