Expand description
X11 screen information
X11 screen information (name, brightness, resolution, refresh rate). With a click you can toggle through your active screens, and scrolling the wheel up/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 |
invert_icons | Invert icons’ ordering, useful if you have colourful emoji | false |
| Placeholder | Value | Type | Unit |
|---|---|---|---|
icon | A static icon | Icon | - |
display | The monitor name | Text | - |
brightness | The monitor brightness | Number | % |
brightness_icon | A static icon | Icon | - |
resolution | The monitor resolution | Text | - |
res_icon | A static icon | Icon | - |
refresh_rate | The monitor refresh rate | Number | Hertz |
| Action | Default button |
|---|---|
cycle_outputs | Left |
brightness_up | Wheel Up |
brightness_down | Wheel Down |
§Example
[[block]]
block = "xrandr"
format = " $icon $brightness $resolution $refresh_rate "§Used Icons
xrandrbacklightresolution