notes/scripts/resolution
2022-06-09 12:59:03 -07:00

3 lines
84 B
Bash
Executable file

#!/bin/bash
xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+x[0-9]+).*$/\1/'