greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.81k stars 472 forks source link

Issue setting brightness with scroll in xrandr block with multiple monitors #1994

Open GabrielWelsh opened 5 months ago

GabrielWelsh commented 5 months ago

When I scroll on the xrandr block, it only affects one of my monitors: HDMI-0 <- affected DP-0 <- unaffected

I can manually set DP-0 with the command xrandr --output DP-0 --brightness 0.5 so it's not an issue with my monitor.

$ i3status-rs -V
i3status-rs 0.32.3
bim9262 commented 5 months ago

Are you cycling which monitor is active?

GabrielWelsh commented 5 months ago

I'm not sure exactly what you mean by "cycling which monitor is active", but I am specifying DP-0 as the primary monitor if that's what you mean: xrandr --output DP-0 --primary --pos 0x0 --output HDMI-0 --mode 1920x1080 --pos 2560x360

bim9262 commented 5 months ago

https://docs.rs/i3status-rs/latest/i3status_rs/blocks/xrandr/index.html:

Action Default button
cycle_outputs Left
brightness_up Wheel Up
brightness_down Wheel Down

Did you left click to cycle which output the xrandr block shows info for/controls?

GabrielWelsh commented 5 months ago

Left clicking doesn't change the output.