dotfiles/script/screenon

13 lines
221 B
Plaintext
Raw Permalink Normal View History

2023-12-31 13:04:16 +00:00
#!/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