]> git.corax.cc Git - toolbox/commit
include/xrandr: Add functions for querying the monitor state from xrandr
authorMatthias Kruk <m@m10k.eu>
Sat, 3 Apr 2021 02:33:49 +0000 (11:33 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 3 Apr 2021 02:33:49 +0000 (11:33 +0900)
commit308af38a38f44a0e9bf357489e5f787cc6c900e9
tree677c4ca4eeec4593bf94ea689285d1319db59284
parente13e3e027bd44371bb02854be50d22a38e6d2720
include/xrandr: Add functions for querying the monitor state from xrandr

This adds convenience functions for getting the current resolution and
available resolutions for a monitor.
include/xrandr.sh [new file with mode: 0644]