scripts/display.sh

9 lines
256 B
Bash

# laptop display management
if [ "$1" = "1920" ] || [ "$1" = "1200" ]; then
xrandr --output eDP-1 --mode 1920x1200
elif [ "$1" = "1280" ] || [ "$1" = "800" ]; then
xrandr --output eDP-1 --mode 1280x800
else
xrandr --output eDP-1 --mode 1680x1050
fi