Incredibly simple scripts for controlling the computer's TV output using xrandr. Also integrates with my roku scripts for automatically switching the TV input accordingly.
coltondrg? 72a1c45bd8 it was a rushed hackjob, and it shows 9 months ago
README.md xrandr is nice 9 months ago
tv-extend xrandr is nice 9 months ago
tv-mirror xrandr is nice 9 months ago
tv-off xrandr is nice 9 months ago
tv-only xrandr is nice 9 months ago
tv-script it was a rushed hackjob, and it shows 9 months ago

README.md

tv scripts

These are some scripts I slapped together that control my computer’s TV output using xrandr. They’re pretty simple but they come in handy for adjusting the monitor settings on the fly, since many applications don’t quite work as expected with multiple monitors. The most interesting thing here is probably the tv-only script, because it allows you to run any application in a mode that enables the TV output and disables the monitor, then switches the configuration back once the process closes. This is useful for playing 4K games on the TV through Steam, and launching media players at 4K when watching movies or binging TV shows.

This is probably only useful in my specific setup, but some day I will refactor everything and make those scripts robust and portable so anyone can make some use of them.

Copyright © 2018 ColtonDRG? (coltondrg.com) All rights reserved