Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to select gpu by line number #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tony763
Copy link

@Tony763 Tony763 commented Oct 1, 2021

Hello,
firstly thank you for this awesome shell. It really saved me some stress.
As I travel between two desks with my notebook, I also have two docks and GPUs.

To save some time, I edited your shell to add possibility to select GPU in setup also by line number, so I do not have to write down whole BusID.

Now it seems like this:

$ sudo ./gswitch setup
Which of these cards is your eGPU?
Nr: 0 BusID: 00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics G7 (rev 07)
Nr: 1 BusID: 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon Pro WX 7100]
Please type in the BusID, e.g: 00:02.0 or line number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant