Module i3status_rs::blocks::xrandr

source ·
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

KeyValuesDefault
formatA string to customise the output of this block. See below for available placeholders." $icon $display $brightness_icon $brightness "
step_widthThe steps brightness is in/decreased for the selected screen (When greater than 50 it gets limited to 50).5
intervalUpdate interval in seconds.5
PlaceholderValueTypeUnit
iconA static iconIcon-
displayThe name of a monitorText-
brightnessThe brightness of a monitorNumber%
brightness_iconA static iconIcon-
resolutionThe resolution of a monitorText-
res_iconA static iconIcon-
ActionDefault button
cycle_outputsLeft
brightness_upWheel Up
brightness_downWheel Down

§Example

[[block]]
block = "xrandr"
format = " $icon $brightness $resolution "

§Used Icons

  • xrandr
  • backlight
  • resolution

Structs§

Functions§