Universal brightness with xrandr#599
Conversation
|
Sorry for the delay, im just check the script, works fine. Could this method replace the current method that uses brightnessctl? I don't remember the package name right now. I've only been able to test it on a desktop machine; I left my laptop at a friend's house and don't have it with me right now. But I assume it also works for laptops, right? If so, I like the idea of not depending on an extra package and using xrandr. Beyond that, one problem I saw is that it depends on OUTPUT="HDMI-0" This is a problem for a multi-monitor setup. A possible solution would be to use and get the name of the monitor that is focused. Could you make the changes? Once the changes are made, I'll push them to your pull request. Also, instead of using Super + Up, Down, it could stay as it is with the specific keys for brightness control: |
|
I've updated the Pull Request with the following improvements:
Tested on both desktop and laptop, working as expected in both scenarios |
|
Yes, thank you, I've been researching this. On desktops, it's a great method with no dependencies, pure and simple xrandr, and I love it, but laptop users won't benefit. So let me think about what to do. I'm thinking we could use a variable. If the system has |
|
Hello, as a laptop user who uses a monitor, I have a suggestion. I'd venture to say that laptop users who use a monitor always do so with their laptop plugged into the charger, so using So, why not also implement a feature that checks the MonitorSetup configuration before selecting a monitor? That way, if the user is using a monitor and charger, there's no problem, and if they don't have a monitor, there's no problem either. I'm new to this, so I hope I'm not saying something stupid. |
Adds
sxhkdkeybindings to increase and decrease desktop monitor brightness using theBrightnessDesktopscript.