feat(script): add screenon script

This commit is contained in:
Rob Watson 2023-12-31 14:04:16 +01:00
parent bffea54717
commit 0eb1cfac50
1 changed files with 12 additions and 0 deletions

12
script/screenon Executable file
View File

@ -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