Root commit.
This commit is contained in:
commit
7183fd6b99
21 changed files with 974 additions and 0 deletions
16
sb-optimus
Executable file
16
sb-optimus
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue