diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-12-27 14:21:06 -0600 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-12-27 14:21:06 -0600 |
commit | ea8ec2d2776fb7e3ea44c4416fac7e662594f351 (patch) | |
tree | fdd1c47ba32c40acdd23bf49299bd3f57d453939 /x11 | |
parent | f4b77c42ca78c5265c4754caeef5289e3841f5e9 (diff) | |
download | scripts-ea8ec2d2776fb7e3ea44c4416fac7e662594f351.tar.xz scripts-ea8ec2d2776fb7e3ea44c4416fac7e662594f351.zip |
dmenu runapp script and xvsync
Diffstat (limited to 'x11')
-rwxr-xr-x | x11/xvsync | 5 |
1 files changed, 5 insertions, 0 deletions
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 |