OSD Custom Pill
Replaces the Windows volume, brightness, and virtual desktop OSD with an animated spring pill
Author: yelloxygene
An animated on-screen indicator for volume, brightness and virtual desktops on Windows 11.

Volume and brightness
Shows an icon, a progress bar and the current value. The indicator expands when it appears and retracts when it closes.
Elastic deformation
Increasing a value moves and stretches the pill to the right; decreasing it moves the pill to the left. Repeated changes build up the deformation. When you release the key, the pill returns with a spring effect.
The movement, stretching, spring damping and return strength can be adjusted independently in the mod settings.
Compact mode
After several changes in a row, the indicator can become smaller to take up less space. You can choose how many changes activate this mode and when it returns to normal.
Size and position
Adjust the pill's width, height and distance from the bottom of the screen. Opening and closing delays can also be changed.
The progress bar can use either its original blue color or the Windows accent color, selected in the mod settings.
Virtual desktops
Displays the current virtual desktop name or number when switching desktops. This indicator has its own size, position, animation and duration settings.
Settings
All options are available in Windhawk's Settings tab, with translated labels in supported languages. The main groups are:
Appearance and position — dimensions and screen placement.
Opening and closing — delays and spring response.
Stretching and rebound — movement distance, deformation and elastic return.
Compact mode — activation threshold and return timing.
Virtual desktop indicator — label, dimensions, timing and animation.
Timing values are in milliseconds. Size values are based on 100% display scaling.