summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rwxr-xr-xx11/testtimmywm6
-rwxr-xr-xx11/xvsync5
2 files changed, 11 insertions, 0 deletions
diff --git a/x11/testtimmywm b/x11/testtimmywm
new file mode 100755
index 0000000..330a328
--- /dev/null
+++ b/x11/testtimmywm
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+Xephyr -br -ac -reset -screen 2160x1440 :1 &
+sleep 1
+export DISPLAY=:1
+timmywm &
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