From 0eb1cfac5082a86dbb1e5347cdbdac5c8c083061 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 31 Dec 2023 14:04:16 +0100 Subject: [PATCH] feat(script): add screenon script --- script/screenon | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 script/screenon diff --git a/script/screenon b/script/screenon new file mode 100755 index 0000000..b21f6cf --- /dev/null +++ b/script/screenon @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +# +# Enable external screen (office-layout) + +set -euo pipefail + +if [ "$(uname -s)" != "Linux" ]; then + echo "non-Linux not supported" + exit 1 +fi + +xrandr --output DP-1 --mode 3440x1440 --left-of eDP-1