Skip to content

Commit

Permalink
change optimus-manager for nvidia-prime
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbarnabedikartola committed Sep 19, 2023
1 parent 3ae56cd commit 1ccbd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/share/render-menu-options/render-menu-options.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Exec=$RenderMode $Exec" >> "$App"
}

# Check if the "optimus-manager" utility is installed
if [ -e "/usr/bin/optimus-manager" ]; then
if [ -e "/usr/bin/nvidia-prime" ]; then
# Find all .desktop files in the specified folder that do not have an "Action NvidiaRender"
Applications=$(grep -L 'Action NvidiaRender' $Folder/*.desktop)
AddRender="NvidiaRender;IntegratedRender;SoftwareRender;" AddRenderInFile
Expand Down

0 comments on commit 1ccbd49

Please sign in to comment.