aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-06-16 08:43:17 -0300
committerEuAndreh <eu@euandre.org>2024-06-16 08:43:17 -0300
commit856597d251a10edc99d0f2c9c03290713585ad98 (patch)
treebbaa893f01830d2b8dc12dbdfad1bfdc72eea8e4
parentetc/sh/rc: Add -fsanitize=undefined to $LDFLAGS (diff)
downloaddotfiles-856597d251a10edc99d0f2c9c03290713585ad98.tar.gz
dotfiles-856597d251a10edc99d0f2c9c03290713585ad98.tar.xz
bin/with-{one-monitor,two-monitors}: Add output from arandr(1)
-rwxr-xr-xbin/with-one-monitor2
-rwxr-xr-xbin/with-two-monitors2
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/with-one-monitor b/bin/with-one-monitor
new file mode 100755
index 0000000..9463ff2
--- /dev/null
+++ b/bin/with-one-monitor
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrandr --output LVDS-1 --mode 1366x768 --pos 0x0 --rotate normal --output VGA-1 --off --output HDMI-1 --off --output DP-1 --off
diff --git a/bin/with-two-monitors b/bin/with-two-monitors
new file mode 100755
index 0000000..25d9069
--- /dev/null
+++ b/bin/with-two-monitors
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrandr --output LVDS-1 --mode 1366x768 --pos 1920x0 --rotate normal --output VGA-1 --off --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off