Add script to toggle fingerprint as primary sudo authorization #2820
+102
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When fingerprint is setup it is always the "first" option for authorizing a sudo command which is super annoying when the laptop is in clamshell mode and closed far away. So I added this script to toggle it for that situation, because I still need the fingerprint sometimes and want to be able to bring it back easily.
This is especially annoying when using the default super+alt+space menu installer then I had no other option but to open up the laptop and use the fingerprint or just run the pacman/yay command directly in the terminal which defeats the whole purpose of that menu then.