waybar-backlight-slider(5)
π‘ waybar-backlight-slider β the backlight slider module, bestie edition
okay so this is waybar-backlight-slider(5) from the File Formats Manual, and it's literally the cutest little module. Let me put you on. π«Ά
β¨ NAME β¨
waybar β the backlight slider module. that's it, that's the vibe. π
πΈ DESCRIPTION πΈ
This module displays and controls the current brightness of the default device, or of whichever device you prefer. no cap. π
Wanna change the brightness? two ways, both iconic:
- drag the slider all the way across the bar π«
- click on a specific position on the bar and it snaps there π―
either way it's giving main character energy.
π CONFIGURATION π
k so here's every knob you can turn. don't skip any, they all matter fr fr.
minβ typeof:int, default:0. this is the minimum volume value the slider should display and set. πmaxβ typeof:int, default:100. this is the maximum volume value the slider should display and set. π₯orientationβ typeof:string, default:horizontal. the orientation of the slider. can be eitherhorizontalorvertical. pick your angle, queen πdeviceβ typeof:string. the name of the preferred device to control. if you leave it empty, a device will be chosen automatically β the module just picks for you, so trusting β¨expandβ typeof:bool, default:false. enables this module to consume all left over space dynamically. greedy little diva, we love her π
π EXAMPLES π
here's the whole setup, copy-paste ready, no notes:
"modules-right": [
"backlight/slider",
],
"backlight/slider": {
"min": 0,
"max": 100,
"orientation": "horizontal",
"device": "intel_backlight"
}
look at that. gorgeous. π
π STYLE π
the slider is a component with multiple CSS Nodes, and these are the ones exposed for you to style:
#backlight-sliderβ controls the style of the box around the slider and bar. the outer fit, basically π#backlight-slider sliderβ controls the style of the slider handle. that's the bit you drag, the main character herself π#backlight-slider troughβ controls the style of the part of the bar that has not been filled. the empty stretch π³οΈ#backlight-slider highlightβ controls the style of the part of the bar that has been filled. the slay zone π₯
β¨ STYLE EXAMPLE β¨
steal this, it eats:
#backlight-slider slider {
min-height: 0px;
min-width: 0px;
opacity: 0;
background-image: none;
border: none;
box-shadow: none;
}
#backlight-slider trough {
min-height: 80px;
min-width: 10px;
border-radius: 5px;
background-color: black;
}
#backlight-slider highlight {
min-width: 10px;
border-radius: 5px;
background-color: red;
}
black trough, red highlight, invisible slider handle β it's giving minimalism with a pop of drama. iconic. π€β€οΈ
no warnings, no gotchas, no deprecated anything in here β this module is lowkey perfect. go forth and dim your screen responsibly bestie ππ«Ά
and that's the whole page! this was waybar-backlight-slider(5) from the File Formats Manual, dated 2026-02-08. go build something pretty with it, ily, bye πβ¨ππ¦
π¦ where this page comes from
- ubuntu resolute: waybar 0.15.0-1 Β· MIT
- ubuntu stonking: waybar 0.15.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms