From ea8ec2d2776fb7e3ea44c4416fac7e662594f351 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Mon, 27 Dec 2021 14:21:06 -0600 Subject: dmenu runapp script and xvsync --- x11/xvsync | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 x11/xvsync (limited to 'x11/xvsync') diff --git a/x11/xvsync b/x11/xvsync new file mode 100755 index 0000000..0d5cd5c --- /dev/null +++ b/x11/xvsync @@ -0,0 +1,5 @@ +#!/bin/sh +# Since this script runs xrandr to get the connected monitors, it is unnecessary to run xrandr by itself in your xinitrc +for monitor in `xrandr | sed -n 's/ connected.*//p'`; do + xrandr --output $monitor --set TearFree ${1:-on} +done -- cgit v1.2.3