Expand description
X11 screen information
X11 screen information (name, brightness, resolution). With a click you can toggle through your active screens and with wheel up and down you can adjust the selected screens brightness. Regarding brightness control, xrandr changes the brightness of the display using gamma rather than changing the brightness in hardware, so if that is not desirable then consider using the backlight
block instead.
NOTE: Some users report issues (e.g. here and here when using this block. The cause is currently unknown, however setting a higher update interval may help.
§Configuration
Key | Values | Default |
---|---|---|
format | A string to customise the output of this block. See below for available placeholders. | " $icon $display $brightness_icon $brightness " |
step_width | The steps brightness is in/decreased for the selected screen (When greater than 50 it gets limited to 50). | 5 |
interval | Update interval in seconds. | 5 |
Placeholder | Value | Type | Unit |
---|---|---|---|
icon | A static icon | Icon | - |
display | The name of a monitor | Text | - |
brightness | The brightness of a monitor | Number | % |
brightness_icon | A static icon | Icon | - |
resolution | The resolution of a monitor | Text | - |
res_icon | A static icon | Icon | - |
Action | Default button |
---|---|
cycle_outputs | Left |
brightness_up | Wheel Up |
brightness_down | Wheel Down |
§Example
[[block]]
block = "xrandr"
format = " $icon $brightness $resolution "
§Used Icons
xrandr
backlight
resolution