17 lines
403 B
Bash
Executable file
17 lines
403 B
Bash
Executable file
#! /usr/bin/bash
|
|
|
|
# laptop display management
|
|
|
|
# Load config & functions
|
|
#. ${HOME}/ayo.conf
|
|
#. ${scripts_dir}/functions.sh
|
|
|
|
#command=$1
|
|
|
|
if [ $1 = "big" ] || [ "$1" = "1920" ] || [ "$1" = "1200" ]; then
|
|
xrandr --output eDP-1 --mode 1920x1200
|
|
elif [ $1 = "small" ] || [ "$1" = "1280" ] || [ "$1" = "800" ]; then
|
|
xrandr --output eDP-1 --mode 1280x800
|
|
else
|
|
xrandr --output eDP-1 --mode 1680x1050
|
|
fi
|