feat(display): switch between graphics modes
This commit is contained in:
parent
9be15a2c00
commit
83bc543f8b
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,14 @@ command=$2
|
|||
|
||||
function main() {
|
||||
case $command in
|
||||
"hybrid")
|
||||
sudo system76-power graphics hybrid
|
||||
sudo reboot
|
||||
;;
|
||||
"nvidia")
|
||||
sudo system76-power graphics nvidia
|
||||
sudo reboot
|
||||
;;
|
||||
"big")
|
||||
echo "Setting display to big mode (1920x1200)"
|
||||
xrandr --output "$intern" --mode 1920x1200
|
||||
|
|
Loading…
Reference in a new issue