From 83bc543f8b8ccc84fb3b5778da2b1bf625ffa554 Mon Sep 17 00:00:00 2001 From: Ayo Date: Thu, 2 Oct 2025 12:31:44 +0200 Subject: [PATCH] feat(display): switch between graphics modes --- display.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/display.sh b/display.sh index 007df90..4cbfaf9 100755 --- a/display.sh +++ b/display.sh @@ -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