summaryrefslogtreecommitdiffstats
path: root/.local/bin/dualscreen
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/dualscreen
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/dualscreen')
-rwxr-xr-x.local/bin/dualscreen13
1 files changed, 13 insertions, 0 deletions
diff --git a/.local/bin/dualscreen b/.local/bin/dualscreen
new file mode 100755
index 0000000..1e54bd9
--- /dev/null
+++ b/.local/bin/dualscreen
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+xrandr --output VGA1 --off
+xrandr --output HDMI1 --off
+xrandr --output DP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal
+xrandr --output LVDS1 --mode 1366x768 --pos 1920x312 --rotate normal
+xrandr --output HDMI2 --off
+xrandr --output HDMI3 --off
+xrandr --output DP2 --off
+xrandr --output DP3 --off
+
+bspc monitor DP1 -d 01 02 03 04 05 06 07
+bspc monitor LVDS1 -d 08 09 10 11 12