16 lines
277 B
Bash
Executable file
16 lines
277 B
Bash
Executable file
#!/bin/sh
|
|
|
|
mode=$(envycontrol -q | awk '{ print $5 }')
|
|
nv_screen="eDP-1-0"
|
|
screen="eDP"
|
|
|
|
. sb-theme
|
|
|
|
if [ "$mode" = "nvidia" ]; then
|
|
display "DGPU" $1
|
|
elif [ "$mode" = "integrated" ]; then
|
|
display "IGPU" $1
|
|
elif [ "$mode" = "hybrid" ]; then
|
|
display "HYBRID" $1
|
|
fi
|
|
|