summaryrefslogtreecommitdiffstats
path: root/.local/bin/triplescreen
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 15:45:02 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 15:45:02 +0200
commit054955db38bb571c294b5d86c78639e3b1091031 (patch)
tree6dd4b42405c4693cd35ad6b7d07b163cfcb584f5 /.local/bin/triplescreen
parentAdded emacs config (diff)
downloaddotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.tar.gz
dotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.tar.bz2
dotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.tar.xz
dotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.tar.zst
dotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.zip
Added scripts
Diffstat (limited to '.local/bin/triplescreen')
-rwxr-xr-x.local/bin/triplescreen27
1 files changed, 27 insertions, 0 deletions
diff --git a/.local/bin/triplescreen b/.local/bin/triplescreen
new file mode 100755
index 0000000..39021d2
--- /dev/null
+++ b/.local/bin/triplescreen
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# Small screen on the left
+# xrandr --output LVDS1 --off
+# xrandr --output VGA1 --mode 1440x900 --pos 0x324 --rotate normal
+# xrandr --output HDMI1 --off
+# xrandr --output DP1 --primary --mode 1920x1080 --pos 1440x0 --rotate normal
+# xrandr --output HDMI2 --off
+# xrandr --output HDMI3 --off
+# xrandr --output DP2 --off
+# xrandr --output DP3 --off
+
+# bspc monitor VGA1 -d 01 02 03 04 09 10 11 12
+# bspc monitor DP1 -d 05 06 07 08
+
+# Small screen on the right
+xrandr --output LVDS1 --off
+xrandr --output HDMI1 --off
+xrandr --output DP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal
+xrandr --output VGA1 --mode 1440x900 --pos 1920x226 --rotate normal
+xrandr --output HDMI2 --off
+xrandr --output HDMI3 --off
+xrandr --output DP2 --off
+xrandr --output DP3 --off
+
+bspc monitor VGA1 -d 08 09 10 11 12
+bspc monitor DP1 -d 01 02 03 04 05 06 07